mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 08:51:21 +00:00
minor usage and readme fixes
R=vsm@google.com Review URL: https://codereview.chromium.org/1451043002 .
This commit is contained in:
parent
38fff5ad9c
commit
d8b5015539
|
@ -26,6 +26,6 @@ DDC has the following project goals:
|
|||
DDC is still in a very early stage as highlighted by our choice of ES6. ES6 itself is in active development across all modern browsers, but at various stages of support:
|
||||
[kangax.github.io/compat-table/es6](https://kangax.github.io/compat-table/es6/).
|
||||
|
||||
We are initially targeting the subset of ES6 supported in Chrome Canary.
|
||||
We are targeting the subset of ES6 supported in Chrome.
|
||||
|
||||
To try out DDC and/or give feedback, please read our [usage](https://github.com/dart-lang/dev_compiler/blob/master/USAGE.md) page.
|
||||
|
|
|
@ -32,9 +32,10 @@ void main() {
|
|||
```
|
||||
|
||||
the Dart analyzer will not report a static error or warning even
|
||||
though the program will clearly fail (in checked mode). Running DDC:
|
||||
though the program will clearly fail (in checked mode). Running with --strong
|
||||
mode:
|
||||
|
||||
$ dartdevc main.dart
|
||||
$ dartanalyzer --strong main.dart
|
||||
|
||||
will display a severe error. Modifying `42` to `'42'` will
|
||||
correct the error.
|
||||
|
|
Loading…
Reference in a new issue