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

Issue 12211045: Allow ambiguous Expect and ExpectException imports. (Closed)

Created:
7 years, 10 months ago by floitsch
Modified:
7 years, 7 months ago
CC:
reviews_dartlang.org, ahe
Visibility:
Public.

Description

Allow ambiguous Expect and ExpectException imports. This patch temporarily allows Expect to come from core and from any other library without (I wanted to make the CL public reporting an error (or warning). Once everyone (including co19) has migrated I will revert this CL. Committed: https://code.google.com/p/dart/source/detail?r=18318

Patch Set 1 #

Total comments: 4

Patch Set 2 : Added TODO. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -2 lines) Patch
M compiler/java/com/google/dart/compiler/resolver/TopLevelElementBuilder.java View 1 1 chunk +3 lines, -1 line 0 comments Download
M runtime/vm/parser.cc View 1 1 chunk +4 lines, -1 line 0 comments Download
M sdk/lib/_internal/compiler/implementation/elements/modelx.dart View 1 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
floitsch
I'm trying to remove Expect from core. Tests that use Expect will have to get ...
7 years, 10 months ago (2013-02-06 16:30:59 UTC) #1
regis
LGTM https://codereview.chromium.org/12211045/diff/1/runtime/vm/parser.cc File runtime/vm/parser.cc (right): https://codereview.chromium.org/12211045/diff/1/runtime/vm/parser.cc#newcode8204 runtime/vm/parser.cc:8204: if (!first_lib_url.IsNull() I would add a TODO here ...
7 years, 10 months ago (2013-02-06 19:40:47 UTC) #2
Johnni Winther
lgtm
7 years, 10 months ago (2013-02-07 12:01:03 UTC) #3
Johnni Winther
https://codereview.chromium.org/12211045/diff/1/sdk/lib/_internal/compiler/implementation/elements/modelx.dart File sdk/lib/_internal/compiler/implementation/elements/modelx.dart (right): https://codereview.chromium.org/12211045/diff/1/sdk/lib/_internal/compiler/implementation/elements/modelx.dart#newcode603 sdk/lib/_internal/compiler/implementation/elements/modelx.dart:603: if (element.name == const SourceString("Expect") || Add a TODO.
7 years, 10 months ago (2013-02-07 12:01:41 UTC) #4
floitsch
https://codereview.chromium.org/12211045/diff/1/runtime/vm/parser.cc File runtime/vm/parser.cc (right): https://codereview.chromium.org/12211045/diff/1/runtime/vm/parser.cc#newcode8204 runtime/vm/parser.cc:8204: if (!first_lib_url.IsNull() On 2013/02/06 19:40:48, regis wrote: > I ...
7 years, 10 months ago (2013-02-11 17:59:32 UTC) #5
Ivan Posva
What is the status of this change? Can this now finally be reverted? Thanks, -Ivan
7 years, 7 months ago (2013-05-23 22:28:16 UTC) #6
floitsch
7 years, 7 months ago (2013-05-24 12:20:19 UTC) #7
Message was sent while issue was closed.
On 2013/05/23 22:28:16, Ivan Posva wrote:
> What is the status of this change? Can this now finally be reverted?
> 
> Thanks,
> -Ivan

Yes, I think so (running the tests now). Thanks for reminding.

Powered by Google App Engine
This is Rietveld 408576698