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

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

Issue 246963005: Change ErrorNode to masquerade as a null literal. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Merged with r35381 and exception for MessageKind.UNMATCHED_TOKEN. Created 6 years, 8 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: dart/sdk/lib/_internal/compiler/implementation/warnings.dart
diff --git a/dart/sdk/lib/_internal/compiler/implementation/warnings.dart b/dart/sdk/lib/_internal/compiler/implementation/warnings.dart
index 212df609b1b0cddff3f752b0fc0bf8c8cf17b179..3aede58be861ef63fb19b4b3c894ee3034468026 100644
--- a/dart/sdk/lib/_internal/compiler/implementation/warnings.dart
+++ b/dart/sdk/lib/_internal/compiler/implementation/warnings.dart
@@ -1497,7 +1497,7 @@ main() {}
class Class {
method();
}
-main() => new Class();
+main() => new Class().method();
"""]);
static const MessageKind ABSTRACT_GETTER = const MessageKind(
@@ -1722,7 +1722,7 @@ main() {
howToFix: DONT_KNOW_HOW_TO_FIX,
examples: const ["""
main() {
- print(ç);
+ String x = ç;
}
"""]);
« no previous file with comments | « dart/sdk/lib/_internal/compiler/implementation/tree/nodes.dart ('k') | dart/tests/compiler/dart2js/message_kind_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698