-
Notifications
You must be signed in to change notification settings - Fork 1.8k
dart2js: toString() breaks for the JS Symbol type #53106
Copy link
Copy link
Closed
Labels
P2A bug or feature request we're likely to work onA bug or feature request we're likely to work onarea-web-jsIssues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop.Issues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop.dart2js-ddc-discrepancyWhen dev and production compilations have different semanticsWhen dev and production compilations have different semanticsdart2js-interceptorsdart2js-runtime-libraryIssues related to runtime library for dart2js (sdk/lib/_internal/js_runtime)Issues related to runtime library for dart2js (sdk/lib/_internal/js_runtime)web-dart2jsweb-js-interopIssues that impact all js interopIssues that impact all js interop
Metadata
Metadata
Assignees
Labels
P2A bug or feature request we're likely to work onA bug or feature request we're likely to work onarea-web-jsIssues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop.Issues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop.dart2js-ddc-discrepancyWhen dev and production compilations have different semanticsWhen dev and production compilations have different semanticsdart2js-interceptorsdart2js-runtime-libraryIssues related to runtime library for dart2js (sdk/lib/_internal/js_runtime)Issues related to runtime library for dart2js (sdk/lib/_internal/js_runtime)web-dart2jsweb-js-interopIssues that impact all js interopIssues that impact all js interop
Reproduction:
Compiling to JS with dart2js (Dart 3.0.7) and running in the browser throws
method not found: 'toString$0' (J.getInterceptor$(...).toString$0 is not a function).