Open
Description
I wonder if we can eliminate the native syntax used by at least the Dart VM. At some point, dart2js used it as well in dart:html, but I'm not sure that's the case any more.
Here's an example of a getter using the native syntax:
int get length native "List_getLength";
And here's how I'd propose to change it (what Kernel uses today):
external @ExternalName("List_getLength")
int get length;
Or, if #28283 is fixed:
@ExternalName("List_getLength")
external int get length;
Please let me know what you think about this, and if you foresee any problems with this approach.
@rakudrama @a-siva @mhausner @sigmundch @kmillikin @asgerf @johnniwinther @stereotype441 @bwilkerson