(creating a separate bug for checks mentioned in #32929 (comment))
To help users detect issues like #42200, we can check names used for classes in @JS do not conflict with any native names on our core libraries. At the time the js-interop-checker runs, we should have access to all declarations within the dart sdk (dart:html, typed_data, etc) and extract a list of native types that can't be used.
(creating a separate bug for checks mentioned in #32929 (comment))
To help users detect issues like #42200, we can check names used for classes in
@JSdo not conflict with any native names on our core libraries. At the time the js-interop-checker runs, we should have access to all declarations within the dart sdk (dart:html, typed_data, etc) and extract a list of native types that can't be used.