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

Unified Diff: sdk/lib/_internal/compiler/implementation/elements/modelx.dart

Issue 11879039: Fix error message for library name mismatch. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebased Created 7 years, 11 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 | « no previous file | tests/compiler/dart2js/mock_compiler.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/compiler/implementation/elements/modelx.dart
diff --git a/sdk/lib/_internal/compiler/implementation/elements/modelx.dart b/sdk/lib/_internal/compiler/implementation/elements/modelx.dart
index 19759c97244ffc2cd4ed2c6bc2c35b9eda7f1be9..2d1bf8f456e5b5a4fb8af4d763d9bc502c060a7b 100644
--- a/sdk/lib/_internal/compiler/implementation/elements/modelx.dart
+++ b/sdk/lib/_internal/compiler/implementation/elements/modelx.dart
@@ -507,8 +507,8 @@ class CompilationUnitElementX extends ElementX
partTag = tag;
LibraryName libraryTag = getLibrary().libraryTag;
if (libraryTag != null) {
- String expectedName = tag.name.toString();
- String actualName = libraryTag.name.toString();
+ String actualName = tag.name.toString();
+ String expectedName = libraryTag.name.toString();
if (expectedName != actualName) {
listener.reportMessage(
listener.spanFromSpannable(tag.name),
« no previous file with comments | « no previous file | tests/compiler/dart2js/mock_compiler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698