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

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

Issue 1227353002: Refactor handling of library prefixes. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Update unittest expectations. Created 5 years, 5 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 | « pkg/compiler/lib/src/resolution/members.dart ('k') | tests/co19/co19-dart2js.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/warnings.dart
diff --git a/pkg/compiler/lib/src/warnings.dart b/pkg/compiler/lib/src/warnings.dart
index f14426292f4082c1e29bfdf0c98fb825e2b2afd0..49980b782e7f103fe25454089accfa0bb0a274ec 100644
--- a/pkg/compiler/lib/src/warnings.dart
+++ b/pkg/compiler/lib/src/warnings.dart
@@ -401,6 +401,9 @@ main() {}""",
static const MessageKind NOT_A_PREFIX = const MessageKind(
"'#{node}' is not a prefix.");
+ static const MessageKind PREFIX_AS_EXPRESSION = const MessageKind(
+ "Library prefix '#{prefix}' is not a valid expression.");
+
static const MessageKind CANNOT_FIND_CONSTRUCTOR = const MessageKind(
"Cannot find constructor '#{constructorName}'.");
« no previous file with comments | « pkg/compiler/lib/src/resolution/members.dart ('k') | tests/co19/co19-dart2js.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698