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

Issue 2672993003: Handle type variables. (Closed)

Created:
3 years, 10 months ago by ahe
Modified:
3 years, 10 months ago
CC:
reviews_dartlang.org, dart-fe-team+reviews_google.com
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : Rebased on 15b143e0e898b882a8c038ac72d396bdc9efe68e. #

Total comments: 21

Patch Set 3 : Add comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+143 lines, -25 lines) Patch
M pkg/front_end/lib/src/fasta/builder/interface_type_builder.dart View 1 chunk +4 lines, -0 lines 0 comments Download
M pkg/front_end/lib/src/fasta/builder/mixin_application_builder.dart View 3 chunks +11 lines, -1 line 0 comments Download
M pkg/front_end/lib/src/fasta/builder/type_builder.dart View 2 chunks +6 lines, -0 lines 0 comments Download
M pkg/front_end/lib/src/fasta/kernel/kernel_library_builder.dart View 4 chunks +8 lines, -3 lines 0 comments Download
M pkg/front_end/lib/src/fasta/parser/listener.dart View 1 2 chunks +4 lines, -3 lines 0 comments Download
M pkg/front_end/lib/src/fasta/parser/parser.dart View 2 chunks +2 lines, -0 lines 0 comments Download
M pkg/front_end/lib/src/fasta/source/outline_builder.dart View 3 chunks +11 lines, -1 line 0 comments Download
M pkg/front_end/lib/src/fasta/source/source_library_builder.dart View 1 2 7 chunks +97 lines, -17 lines 0 comments Download

Messages

Total messages: 8 (3 generated)
ahe
I'm not happy with the names in this CL. Please make suggestions. Also, please don't ...
3 years, 10 months ago (2017-02-03 20:46:03 UTC) #2
Siggi Cherem (dart-lang)
lgtm https://codereview.chromium.org/2672993003/diff/20001/pkg/front_end/lib/src/fasta/source/source_library_builder.dart File pkg/front_end/lib/src/fasta/source/source_library_builder.dart (right): https://codereview.chromium.org/2672993003/diff/20001/pkg/front_end/lib/src/fasta/source/source_library_builder.dart#newcode71 pkg/front_end/lib/src/fasta/source/source_library_builder.dart:71: BuilderScope<T> innerScope; +dartdoc: /// Type-scope for the current ...
3 years, 10 months ago (2017-02-06 18:05:11 UTC) #4
ahe
I have a bunch of stuff on top of this, so I prefer to do ...
3 years, 10 months ago (2017-02-08 13:31:41 UTC) #5
ahe
Committed patchset #3 (id:40001) manually as a881e826dc890daa159f7cc4a41bb5f605976b88 (presubmit successful).
3 years, 10 months ago (2017-02-08 15:11:28 UTC) #7
ahe
3 years, 10 months ago (2017-02-08 16:57:21 UTC) #8
Message was sent while issue was closed.
FYI

https://codereview.chromium.org/2672993003/diff/20001/pkg/front_end/lib/src/f...
File pkg/front_end/lib/src/fasta/source/source_library_builder.dart (right):

https://codereview.chromium.org/2672993003/diff/20001/pkg/front_end/lib/src/f...
pkg/front_end/lib/src/fasta/source/source_library_builder.dart:83:
BuilderScope<T> get builderScope => innerScope ?? libraryScope;
On 2017/02/08 13:31:40, ahe wrote:
> On 2017/02/06 18:05:11, Siggi Cherem (dart-lang) wrote:
> > I'm not against this name, another idea could be `currentScope`.
> 
> I like that idea. Perhaps `currentDeclaration`.

Done in CL 2682993002.

https://codereview.chromium.org/2672993003/diff/20001/pkg/front_end/lib/src/f...
pkg/front_end/lib/src/fasta/source/source_library_builder.dart:388:
parent.types.addAll(types);
On 2017/02/06 18:05:11, Siggi Cherem (dart-lang) wrote:
> it might be worth adding some comments to explain in what contexts this
happens

Done.

https://codereview.chromium.org/2672993003/diff/20001/pkg/front_end/lib/src/f...
pkg/front_end/lib/src/fasta/source/source_library_builder.dart:401:
parent.addType(type);
On 2017/02/06 18:05:11, Siggi Cherem (dart-lang) wrote:
> here too.

Done.

Powered by Google App Engine
This is Rietveld 408576698