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

Unified Diff: sdk/lib/_internal/compiler/implementation/warnings.dart

Issue 48323003: Implement fromEnvironment on bool, int, String in dart2js. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 2 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
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirror.dart ('k') | tests/corelib/corelib.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/compiler/implementation/warnings.dart
===================================================================
--- sdk/lib/_internal/compiler/implementation/warnings.dart (revision 29652)
+++ sdk/lib/_internal/compiler/implementation/warnings.dart (working copy)
@@ -974,6 +974,9 @@
"foo(void x) {} main() { foo(null); }",
]);
+ static const MessageKind NULL_NOT_ALLOWED = const MessageKind(
+ "Error: `null` can't be used here.");
+
static const MessageKind BEFORE_TOP_LEVEL = const MessageKind(
"Error: Part header must come before top-level definitions.");
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirror.dart ('k') | tests/corelib/corelib.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698