You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dart SDK Version (dart --version)
2.1.0-dev.1.0 (also present in 2.0.0-dev.68.0)
What package(s) from this repo you are using, and the version (i.e. build_runner 0.7.12)
build_runner 0.9.2
What builder(s) you are using (or writing yourself). Try to give a short summary of what they do.
dartdevc, dart2js
Whether you are using Windows, MacOSX, or Linux (if applicable)
Linux
Whether you are using Chrome, Safari, Firefox, Edge (if applicable)
Chrome
Any other packages or constraints we should know about
js 0.6.1+1
Dart2js produces code throwing TypeErrors when using wrapped javascript which is known to return typed arrays. ddc code runs fine. cast on the output of dart2js fixes the issue, but is somewhat unsatisfying.
Repo demonstrating the issue here (including all code below).
Result of running ddc js: woof, moo
Result of running dart2js js: Uncaught Error: TypeError: Closure 'minified:by': type '(minified:F) => String' is not a subtype of type '(dynamic) => String'
dart --version
)2.1.0-dev.1.0 (also present in 2.0.0-dev.68.0)
build_runner 0.7.12
)build_runner 0.9.2
dartdevc, dart2js
Linux
Chrome
js 0.6.1+1
Dart2js produces code throwing
TypeError
s when using wrapped javascript which is known to return typed arrays. ddc code runs fine.cast
on the output of dart2js fixes the issue, but is somewhat unsatisfying.Repo demonstrating the issue here (including all code below).
Result of running ddc js:
woof, moo
Result of running dart2js js:
Uncaught Error: TypeError: Closure 'minified:by': type '(minified:F) => String' is not a subtype of type '(dynamic) => String'
farm.js
farm.dart
index.dart
index.html
The text was updated successfully, but these errors were encountered: