mirror of
https://github.com/dart-lang/sdk
synced 2024-09-18 21:41:19 +00:00
e329e1ce29
Currently you can write assert(() { ... }); and the function will be called and the return value used as the assert test. This feature isn't really worth its own complexity - if you want to get the same effect, you can just write all the function: assert(() { ... }()); With asserts in const initializer lists, where the function call is not possible anyway, the feature went from being not very useful to being actual an complication and exception for users to remember. R=eernst@google.com, rnystrom@google.com Review-Url: https://codereview.chromium.org/2974763002 . |
||
---|---|---|
.. | ||
informal | ||
.gitignore | ||
dart.sty | ||
dartLangSpec.tex | ||
Makefile |