Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1365)

Unified Diff: pkg/compiler/lib/src/dart2js.dart

Issue 1151163004: Implementation of null-aware operators. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/compiler/lib/src/dart2js.dart
diff --git a/pkg/compiler/lib/src/dart2js.dart b/pkg/compiler/lib/src/dart2js.dart
index 5469e39dc07d37632abcb02073fed8a9ac40c342..ac9de672d50ee32d8654526eea8e5e990c9facb0 100644
--- a/pkg/compiler/lib/src/dart2js.dart
+++ b/pkg/compiler/lib/src/dart2js.dart
@@ -349,6 +349,12 @@ Future<api.CompilationResult> compile(List<String> argv) {
"Async-await is supported by default.",
api.Diagnostic.HINT);
}),
+ new OptionHandler('--enable-null-aware-operators', (_) {
Siggi Cherem (dart-lang) 2015/05/22 03:50:49 FYI - I'm adding this for now because the language
Johnni Winther 2015/05/22 12:39:48 I thought that experimental features should be opt
Siggi Cherem (dart-lang) 2015/05/22 19:49:54 Oh - I thought that because the DEP was accepted a
+ diagnosticHandler.info(
+ "Option '--enable-null-aware-operators' is not needed. "
+ "Null aware operators are supported by default.",
+ api.Diagnostic.HINT);
+ }),
new OptionHandler('--enable-enum', (_) {
diagnosticHandler.info(
"Option '--enable-enum' is no longer needed. "

Powered by Google App Engine
This is Rietveld 408576698