Comments (2)
Yes you are correct. I will file an issue there instead. Thanks!
from sdk.
The --debug flag does not seem to work for dart2wasm either. That is probably the root cause of this
The Dart2Wasm compiler is only used for --profile
/ --release
builds (just like Dart2JS). For iterative development the DDC compiler (which also compiles to JS) is used (or the VM's JIT). In the short term dart2wasm will not have a development compiler (with hot-restart / hot-reload).
That being said, one can use Dart2Wasm for profile/release builds and still enable assertions - via dart compile wasm --enable-asserts test.dart
.
dart test ...
is using package:test
under the hood which doesn't seem to have a way to enable assertions when running under wasm - see package:test_core/src/runner/wasm_compiler_pool.dart.
@Rexios80 Is your main request to run tests with assertions enabled? In that case consider filing an issue at https://github.com/dart-lang/test instead.
/cc @kevmoo
from sdk.
Related Issues (20)
- Unstable graph construction for double.ceil/floor when running from app-jit HOT 1
- [dart2wasm] Issue with dynamic data type is not very intuitive as expected HOT 8
- Analyzer Feedback from IntelliJ HOT 1
- Optimize the DateTime type for functional programming HOT 7
- Optimize the ` dart:isolate ` API to use functional programming HOT 3
- Create the `dart:time` API for processing dates with functional programming HOT 4
- Create the `dart:function` api to standardize the Callback implementation HOT 6
- Optimize the `dart:async` API to use functional programming HOT 2
- [vm/ffi] Custom snapshot serializer/deserializers for user-defined classes backed by native state HOT 4
- NasserFlutter_Analyzer Feedback from IntelliJ HOT 1
- Having an issue trying to convert an async function HOT 5
- Analyzer Feedback from IntelliJ HOT 1
- Analyzer Feedback from IntelliJ HOT 1
- Empty vs. null query parameters - wrong encoding in Uri HOT 5
- admin folder are listed with `Directory.list()` but `Directory.existsSync` return false on them HOT 2
- Analyzer's Comment nodes are always 'doc' comments; deprecate unused properties
- truncateAsFixed() idea HOT 2
- Types declared by a macro are not visible outside the library where the macro was applied HOT 5
- Some tests no longer work with custom local builds HOT 24
- A macro application generated by another macro is not invoked HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sdk.