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

Issue 2829223007: Introduce initial plumbing for type promotion in fasta. (Closed)

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

Description

Introduce initial plumbing for type promotion in fasta. R=ahe@google.com Committed: https://github.com/dart-lang/sdk/commit/a3311858a7595386e66471253a5ee20acd5b5688

Patch Set 1 #

Patch Set 2 : Add missing copyrights #

Total comments: 24
Unified diffs Side-by-side diffs Delta from patch set Stats (+1434 lines, -44 lines) Patch
M pkg/analysis_server/analysis_server.iml View 1 chunk +0 lines, -1 line 2 comments Download
M pkg/front_end/front_end.iml View 1 chunk +0 lines, -1 line 0 comments Download
M pkg/front_end/lib/src/fasta/builder/ast_factory.dart View 3 chunks +22 lines, -2 lines 4 comments Download
M pkg/front_end/lib/src/fasta/kernel/body_builder.dart View 17 chunks +52 lines, -21 lines 0 comments Download
M pkg/front_end/lib/src/fasta/kernel/fasta_accessors.dart View 3 chunks +12 lines, -0 lines 2 comments Download
M pkg/front_end/lib/src/fasta/kernel/frontend_accessors.dart View 1 chunk +10 lines, -3 lines 0 comments Download
M pkg/front_end/lib/src/fasta/kernel/kernel_ast_factory.dart View 3 chunks +41 lines, -3 lines 0 comments Download
M pkg/front_end/lib/src/fasta/kernel/kernel_field_builder.dart View 2 chunks +2 lines, -1 line 0 comments Download
M pkg/front_end/lib/src/fasta/kernel/kernel_shadow_ast.dart View 8 chunks +165 lines, -8 lines 0 comments Download
M pkg/front_end/lib/src/fasta/source/diet_listener.dart View 2 chunks +2 lines, -1 line 0 comments Download
M pkg/front_end/lib/src/fasta/type_inference/type_inferrer.dart View 7 chunks +143 lines, -3 lines 2 comments Download
A pkg/front_end/lib/src/fasta/type_inference/type_promotion.dart View 1 chunk +575 lines, -0 lines 14 comments Download
M pkg/front_end/test/fasta/kompile.status View 1 chunk +1 line, -0 lines 0 comments Download
M pkg/front_end/test/subpackage_relationships_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/front_end/testcases/implicit_scope_test.dart View 1 chunk +40 lines, -0 lines 0 comments Download
A pkg/front_end/testcases/implicit_scope_test.dart.direct.expect View 1 chunk +47 lines, -0 lines 0 comments Download
A pkg/front_end/testcases/implicit_scope_test.dart.outline.expect View 1 chunk +14 lines, -0 lines 0 comments Download
A pkg/front_end/testcases/implicit_scope_test.dart.strong.expect View 1 chunk +47 lines, -0 lines 0 comments Download
A pkg/front_end/testcases/inference/local_reference_upwards_local.dart View 1 1 chunk +12 lines, -0 lines 0 comments Download
A pkg/front_end/testcases/inference/local_reference_upwards_local.dart.dartk.expect View 1 chunk +8 lines, -0 lines 0 comments Download
A pkg/front_end/testcases/inference/local_reference_upwards_local.dart.direct.expect View 1 chunk +9 lines, -0 lines 0 comments Download
A pkg/front_end/testcases/inference/local_reference_upwards_local.dart.outline.expect View 1 chunk +5 lines, -0 lines 0 comments Download
A pkg/front_end/testcases/inference/local_reference_upwards_local.dart.strong.expect View 1 chunk +9 lines, -0 lines 0 comments Download
A pkg/front_end/testcases/inference/type_promotion_simple.dart View 1 1 chunk +11 lines, -0 lines 0 comments Download
A pkg/front_end/testcases/inference/type_promotion_simple.dart.dartk.expect View 1 chunk +10 lines, -0 lines 0 comments Download
A pkg/front_end/testcases/inference/type_promotion_simple.dart.direct.expect View 1 chunk +10 lines, -0 lines 0 comments Download
A pkg/front_end/testcases/inference/type_promotion_simple.dart.outline.expect View 1 chunk +5 lines, -0 lines 0 comments Download
A pkg/front_end/testcases/inference/type_promotion_simple.dart.strong.expect View 1 chunk +10 lines, -0 lines 0 comments Download
A pkg/front_end/testcases/inference/type_promotion_stopped_by_access_in_a_closure.dart View 1 1 chunk +16 lines, -0 lines 0 comments Download
A pkg/front_end/testcases/inference/type_promotion_stopped_by_access_in_a_closure.dart.dartk.expect View 1 chunk +14 lines, -0 lines 0 comments Download
A pkg/front_end/testcases/inference/type_promotion_stopped_by_access_in_a_closure.dart.direct.expect View 1 chunk +14 lines, -0 lines 0 comments Download
A pkg/front_end/testcases/inference/type_promotion_stopped_by_access_in_a_closure.dart.outline.expect View 1 chunk +5 lines, -0 lines 0 comments Download
A pkg/front_end/testcases/inference/type_promotion_stopped_by_access_in_a_closure.dart.strong.expect View 1 chunk +14 lines, -0 lines 0 comments Download
A pkg/front_end/testcases/inference/type_promotion_stopped_by_assignment_in_scope.dart View 1 1 chunk +12 lines, -0 lines 0 comments Download
A pkg/front_end/testcases/inference/type_promotion_stopped_by_assignment_in_scope.dart.dartk.expect View 1 chunk +11 lines, -0 lines 0 comments Download
A pkg/front_end/testcases/inference/type_promotion_stopped_by_assignment_in_scope.dart.direct.expect View 1 chunk +11 lines, -0 lines 0 comments Download
A pkg/front_end/testcases/inference/type_promotion_stopped_by_assignment_in_scope.dart.outline.expect View 1 chunk +5 lines, -0 lines 0 comments Download
A pkg/front_end/testcases/inference/type_promotion_stopped_by_assignment_in_scope.dart.strong.expect View 1 chunk +11 lines, -0 lines 0 comments Download
A pkg/front_end/testcases/inference/type_promotion_stopped_by_mutation_in_a_closure.dart View 1 1 chunk +14 lines, -0 lines 0 comments Download
A pkg/front_end/testcases/inference/type_promotion_stopped_by_mutation_in_a_closure.dart.dartk.expect View 1 chunk +13 lines, -0 lines 0 comments Download
A pkg/front_end/testcases/inference/type_promotion_stopped_by_mutation_in_a_closure.dart.direct.expect View 1 chunk +13 lines, -0 lines 0 comments Download
A pkg/front_end/testcases/inference/type_promotion_stopped_by_mutation_in_a_closure.dart.outline.expect View 1 chunk +5 lines, -0 lines 0 comments Download
A pkg/front_end/testcases/inference/type_promotion_stopped_by_mutation_in_a_closure.dart.strong.expect View 1 chunk +13 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
Paul Berry
3 years, 8 months ago (2017-04-22 18:31:51 UTC) #2
ahe
Comments so far (only nits). Note to self: I've reviewed up to and including pkg/front_end/lib/src/fasta/kernel/kernel_field_builder.dart. ...
3 years, 8 months ago (2017-04-24 16:47:16 UTC) #3
Paul Berry
https://codereview.chromium.org/2829223007/diff/20001/pkg/analysis_server/analysis_server.iml File pkg/analysis_server/analysis_server.iml (left): https://codereview.chromium.org/2829223007/diff/20001/pkg/analysis_server/analysis_server.iml#oldcode60 pkg/analysis_server/analysis_server.iml:60: <orderEntry type="library" name="Dart Packages" level="project" /> On 2017/04/24 16:47:16, ...
3 years, 8 months ago (2017-04-24 18:20:30 UTC) #4
ahe
lgtm I'd like to go talk through the code at our next 1:1. https://codereview.chromium.org/2829223007/diff/20001/pkg/front_end/lib/src/fasta/type_inference/type_inferrer.dart File ...
3 years, 8 months ago (2017-04-25 13:17:01 UTC) #5
Paul Berry
https://codereview.chromium.org/2829223007/diff/20001/pkg/front_end/lib/src/fasta/builder/ast_factory.dart File pkg/front_end/lib/src/fasta/builder/ast_factory.dart (right): https://codereview.chromium.org/2829223007/diff/20001/pkg/front_end/lib/src/fasta/builder/ast_factory.dart#newcode49 pkg/front_end/lib/src/fasta/builder/ast_factory.dart:49: /// Creates an if statement. On 2017/04/24 16:47:16, ahe ...
3 years, 8 months ago (2017-04-25 15:49:27 UTC) #6
Paul Berry
3 years, 8 months ago (2017-04-25 16:06:58 UTC) #8
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
a3311858a7595386e66471253a5ee20acd5b5688 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698