-
Notifications
You must be signed in to change notification settings - Fork 701
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cover assert() in the Dart 2.0 page #355
Comments
To give a bit more context, in the Assert section of the Language Tour it is written:
@munificent, @floitschG - has it been decided how |
We will still have a second mode to enable I think the easiest is to call it "debug" mode. |
Tracking bug: dart-lang/sdk#32255 |
|
@filiph how does assert() work in Flutter? |
Currently, I haven't checked, but I assume in release mode asserts are off. Paging @Hixie to confirm that this is the case and that it won't change in the foreseeable future. |
yeah i don't expect that to change. |
Also fixed some random issues I happened to notice, mostly wrt API doc URLs and the link to `dart`. Fixes #355
* Update assert and checked mode info Also fixed some random issues I happened to notice, mostly wrt API doc URLs and the link to `dart`. Fixes #355
In Dart 1.x, assert() works only in checked mode. But checked mode is obsolete in Dart 2.0. The Dart 2.0 Updates page should say how assert() will work in 2.0.
The text was updated successfully, but these errors were encountered: