mirror of
https://github.com/dart-lang/sdk
synced 2024-09-15 21:20:36 +00:00
16fcfe7eae
Modifies JSBoxedDartObject reified type on JS backends and also modifies JSBoxedDartObject.toDart now that a proper box is introduced. Also uses a JS symbol in JSBoxedDartObject.toDart for a property check so that different Dart apps don't accidentally share Dart objects. It's now an error to call this function on non-boxed objects. Fixes a type issue where creating a new object literal with the JS foreign function was resulting in dart2js thinking toJSBox would always throw. Changing the typeDescription to PlainJavaScriptObject instead of =Object fixes that issue. CoreLibraryReviewExempt: Backend-specific library. Change-Id: I5cfb1f32ff4328fafdf9831b0d8da806c39391d9 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/309082 Reviewed-by: Joshua Litt <joshualitt@google.com> Commit-Queue: Srujan Gaddam <srujzs@google.com> |
||
---|---|---|
.. | ||
bin | ||
lib | ||
.gitignore | ||
api_readme.md | ||
BUILD.gn | ||
OWNERS |