js-interop check: warn that instance methods cannot be renamed #44210
Labels
area-web
Use area-web for Dart web related issues, including the DDC and dart2js compilers and JS interop.
P2
A bug or feature request we're likely to work on
web-js-interop
Issues that impact all js interop
(creating a separate bug for checks mentioned in #32929 (comment))
We can warn that renaming instance methods is not supported. Today this means that instance method
@JS
declarations are unnecessary, so we can also warn about any use of them, but we can be a bit more lenient with benign annotations and only warn when there the rename is clearly the intent.The text was updated successfully, but these errors were encountered: