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

Issue 2981633002: Introduce TypedefEntity (Closed)

Created:
3 years, 5 months ago by Johnni Winther
Modified:
3 years, 5 months ago
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 6

Patch Set 2 : Updated cf. comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -40 lines) Patch
M pkg/compiler/lib/src/common_elements.dart View 1 2 chunks +5 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/elements/elements.dart View 1 chunk +5 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/elements/entities.dart View 1 chunk +4 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/mirrors_data.dart View 5 chunks +10 lines, -7 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/namer.dart View 2 chunks +2 lines, -3 lines 0 comments Download
M pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart View 1 4 chunks +7 lines, -8 lines 0 comments Download
M pkg/compiler/lib/src/js_emitter/program_builder/collector.dart View 2 chunks +2 lines, -3 lines 0 comments Download
M pkg/compiler/lib/src/js_emitter/program_builder/program_builder.dart View 1 chunk +1 line, -3 lines 0 comments Download
M pkg/compiler/lib/src/js_emitter/sorter.dart View 2 chunks +8 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/js_model/js_strategy.dart View 3 chunks +3 lines, -3 lines 0 comments Download
M pkg/compiler/lib/src/kernel/element_map_impl.dart View 1 2 chunks +7 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/kernel/kernel_backend_strategy.dart View 1 chunk +7 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/resolution/resolution_strategy.dart View 1 1 chunk +6 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/universe/resolution_world_builder.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/world.dart View 7 chunks +7 lines, -8 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
Johnni Winther
3 years, 5 months ago (2017-07-12 13:18:09 UTC) #2
Siggi Cherem (dart-lang)
lgtm https://codereview.chromium.org/2981633002/diff/1/pkg/compiler/lib/src/common_elements.dart File pkg/compiler/lib/src/common_elements.dart (right): https://codereview.chromium.org/2981633002/diff/1/pkg/compiler/lib/src/common_elements.dart#newcode1325 pkg/compiler/lib/src/common_elements.dart:1325: /// Returns the unaliased type of [type]. we ...
3 years, 5 months ago (2017-07-12 18:11:14 UTC) #3
Johnni Winther
Committed patchset #2 (id:20001) manually as cb6bef3cb4f251538f3643d1237a9ebdac936fd8 (presubmit successful).
3 years, 5 months ago (2017-07-13 09:14:12 UTC) #5
Johnni Winther
3 years, 5 months ago (2017-07-13 09:19:18 UTC) #6
Message was sent while issue was closed.
https://codereview.chromium.org/2981633002/diff/1/pkg/compiler/lib/src/common...
File pkg/compiler/lib/src/common_elements.dart (right):

https://codereview.chromium.org/2981633002/diff/1/pkg/compiler/lib/src/common...
pkg/compiler/lib/src/common_elements.dart:1325: /// Returns the unaliased type
of [type].
On 2017/07/12 18:11:14, Siggi Cherem (dart-lang) wrote:
> we might want to define what "unaliased" type means here, or refer to where
the
> definition is.

Done.

https://codereview.chromium.org/2981633002/diff/1/pkg/compiler/lib/src/common...
pkg/compiler/lib/src/common_elements.dart:1338: /// Returns the alias of a
[typedef], that is, the function type it is an
On 2017/07/12 18:11:13, Siggi Cherem (dart-lang) wrote:
> nit, how about:
> 
> /// Returns the function type that is an alias of a [typedef].

Done.

https://codereview.chromium.org/2981633002/diff/1/pkg/compiler/lib/src/common...
pkg/compiler/lib/src/common_elements.dart:1340: FunctionType
getTypedefAlias(TypedefEntity typedef);
On 2017/07/12 18:11:14, Siggi Cherem (dart-lang) wrote:
> other name ideas:
>  - getFunctionTypeOf
>  - functionTypeOf
>  - functionTypeOfTypedef
>  - functionTypeAliasOf

Renamed to [getFunctionTypeOfTypedef].

Powered by Google App Engine
This is Rietveld 408576698