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

Issue 11747010: Process handled exports correctly. (Closed)

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

Description

Process handled exports correctly. This should solve the resolution bug in http://dartbug.com/7069 Committed: https://code.google.com/p/dart/source/detail?r=17211

Patch Set 1 #

Patch Set 2 : Test added #

Total comments: 1

Patch Set 3 : Rebased #

Patch Set 4 : Unittest added. #

Total comments: 10

Patch Set 5 : Rebased #

Patch Set 6 : Updated cf. comments. #

Patch Set 7 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+97 lines, -5 lines) Patch
M sdk/lib/_internal/compiler/implementation/library_loader.dart View 1 2 3 4 2 chunks +13 lines, -1 line 0 comments Download
M tests/compiler/dart2js/mock_compiler.dart View 1 2 3 4 1 chunk +8 lines, -0 lines 0 comments Download
A tests/compiler/dart2js/reexport_handled_test.dart View 1 2 3 4 5 1 chunk +53 lines, -0 lines 0 comments Download
A + tests/language/reexport_core_helper.dart View 1 1 chunk +3 lines, -4 lines 0 comments Download
A tests/language/reexport_core_test.dart View 1 1 chunk +20 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Johnni Winther
7 years, 11 months ago (2013-01-03 14:56:58 UTC) #1
ahe
I don't see a test.
7 years, 11 months ago (2013-01-03 15:08:48 UTC) #2
Johnni Winther
A white box test is added.
7 years, 11 months ago (2013-01-04 07:52:23 UTC) #3
ahe
Thank you for adding a test. Not only is it important to test changes, but ...
7 years, 11 months ago (2013-01-04 08:46:35 UTC) #4
Johnni Winther
PTAL Unittest added.
7 years, 11 months ago (2013-01-07 09:07:17 UTC) #5
Johnni Winther
Ping
7 years, 11 months ago (2013-01-10 10:26:41 UTC) #6
ahe
LGTM! https://codereview.chromium.org/11747010/diff/10001/tests/compiler/dart2js/reexport_handled_test.dart File tests/compiler/dart2js/reexport_handled_test.dart (right): https://codereview.chromium.org/11747010/diff/10001/tests/compiler/dart2js/reexport_handled_test.dart#newcode9 tests/compiler/dart2js/reexport_handled_test.dart:9: import '../../../sdk/lib/_internal/compiler/implementation/dart2jslib.dart'; Could you "show" what is imported ...
7 years, 11 months ago (2013-01-16 17:52:59 UTC) #7
Johnni Winther
7 years, 11 months ago (2013-01-17 14:23:08 UTC) #8
https://codereview.chromium.org/11747010/diff/10001/tests/compiler/dart2js/re...
File tests/compiler/dart2js/reexport_handled_test.dart (right):

https://codereview.chromium.org/11747010/diff/10001/tests/compiler/dart2js/re...
tests/compiler/dart2js/reexport_handled_test.dart:9: import
'../../../sdk/lib/_internal/compiler/implementation/dart2jslib.dart';
On 2013/01/16 17:52:59, ahe wrote:
> Could you "show" what is imported here?

Nothing apparantly. Removed.

https://codereview.chromium.org/11747010/diff/10001/tests/compiler/dart2js/re...
tests/compiler/dart2js/reexport_handled_test.dart:9: import
'../../../sdk/lib/_internal/compiler/implementation/dart2jslib.dart';
On 2013/01/16 17:52:59, ahe wrote:
> Also, add this:
> 
> import
> '../../../sdk/lib/_internal/compiler/implementation/elements/elements.dart'
>     show LibraryElement,
>          Element;

Done.

https://codereview.chromium.org/11747010/diff/10001/tests/compiler/dart2js/re...
tests/compiler/dart2js/reexport_handled_test.dart:17: var reexportingLibraryUri
= new Uri('reexporting.dart');
On 2013/01/16 17:52:59, ahe wrote:
> var -> final.

Done.

https://codereview.chromium.org/11747010/diff/10001/tests/compiler/dart2js/re...
tests/compiler/dart2js/reexport_handled_test.dart:18: var
reexportingLibrarySource = '''
On 2013/01/16 17:52:59, ahe wrote:
> const HACKER_STYLE

Done.

Powered by Google App Engine
This is Rietveld 408576698