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

Issue 11879039: Fix error message for library name mismatch. (Closed)

Created:
7 years, 11 months ago by Johnni Winther
Modified:
7 years, 11 months ago
Reviewers:
ahe
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Fix error message for library name mismatch. Committed: https://code.google.com/p/dart/source/detail?r=17560

Patch Set 1 #

Patch Set 2 : Rebased #

Patch Set 3 : Unittest added. #

Total comments: 2

Patch Set 4 : Updated cf. comment. #

Patch Set 5 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -3 lines) Patch
M sdk/lib/_internal/compiler/implementation/elements/modelx.dart View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M tests/compiler/dart2js/mock_compiler.dart View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
A tests/compiler/dart2js/part_of_test.dart View 1 2 3 1 chunk +37 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Johnni Winther
7 years, 11 months ago (2013-01-15 11:24:21 UTC) #1
ahe
LGTM, but I'd like to have a test. If that is hard, we should make ...
7 years, 11 months ago (2013-01-21 11:05:33 UTC) #2
ahe
LGTM! https://codereview.chromium.org/11879039/diff/4002/tests/compiler/dart2js/part_of_test.dart File tests/compiler/dart2js/part_of_test.dart (right): https://codereview.chromium.org/11879039/diff/4002/tests/compiler/dart2js/part_of_test.dart#newcode35 tests/compiler/dart2js/part_of_test.dart:35: Expect.equals('Warning: expected part of library name "foo".', Could ...
7 years, 11 months ago (2013-01-23 11:30:26 UTC) #3
Johnni Winther
7 years, 11 months ago (2013-01-24 13:13:18 UTC) #4
https://codereview.chromium.org/11879039/diff/4002/tests/compiler/dart2js/par...
File tests/compiler/dart2js/part_of_test.dart (right):

https://codereview.chromium.org/11879039/diff/4002/tests/compiler/dart2js/par...
tests/compiler/dart2js/part_of_test.dart:35: Expect.equals('Warning: expected
part of library name "foo".',
On 2013/01/23 11:30:27, ahe wrote:
> Could you obtain this string with:
> 
> "${MessageKind.LIBRARY_NAME_MISMATCH.error(['foo'])}"

Done.

Powered by Google App Engine
This is Rietveld 408576698