Open mnordine opened 6 years ago
@mnordine – does it "work" with --no-release
? Sounds like a difference between how the dev compiler handles things and dart2js...
does it "work" with --no-release
Yep, it prints out expected output
+1, I'd like to see this work with both DDC and dart2js
We're running into this problem. I put together a minimal test case here https://github.com/georgelesica-wf/web_worker_example/tree/broken. Another issue, perhaps unrelated, is that DedicatedWorkerGlobalScope.instance
produces an analyzer warning. Not the end of the world, but annoying.
This throws a runtime error when doing
webdev build
, but it doesn't withwebdev build --no-release