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

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: 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
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}'.");

Powered by Google App Engine
This is Rietveld 408576698