Open natebosch opened 5 years ago
Today we silently ignore string in @JS() annotations on members. The JS member and the dart member must share the same name.
@JS()
In the short term we should have a static error for this.
In the long term we should support renames. Support may be blocked on disallowing extending or implementing JS interop types: #37896
Dup of #24779 ?
Particularly see https://github.com/dart-lang/sdk/issues/24779#issuecomment-349013276 which will be awesome to address.
Marking as P2 for at least the static error for what is broken now.
Today we silently ignore string in
@JS()
annotations on members. The JS member and the dart member must share the same name.In the short term we should have a static error for this.
In the long term we should support renames. Support may be blocked on disallowing extending or implementing JS interop types: #37896