Only top level JS annotations should be allowed to contain dots #27926
Labels
area-web
Use area-web for Dart web related issues, including the DDC and dart2js compilers and JS interop.
web-js-interop
Issues that impact all js interop
The following should generate a static error as the
@JS
annotation for location is not top level but contains a dot.If you want to access location as a static you should instead be required to write
There isn't much benefit from supporting dot within
@JS
annotations on static member names the meaningof static
@JS
annotations containing dots is confusing.The text was updated successfully, but these errors were encountered: