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

Issue 2913743003: Change the approach of front_end top level inference to match the spec. (Closed)

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

Description

Change the approach of front_end top level inference to match the spec. Specifically, we can't walk all the subexpressions when doing top level inference, or we will pick up bogus dependencies. This means that we can't determine the dependencies during BodyBuilder execution; we have to do it in a follow-up pass once we have the AST. R=scheglov@google.com Committed: https://github.com/dart-lang/sdk/commit/0017ffd872ae21ab5e0bf6265dcb5acfd2febd11

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+414 lines, -105 lines) Patch
M pkg/front_end/lib/src/fasta/kernel/body_builder.dart View 4 chunks +1 line, -18 lines 0 comments Download
M pkg/front_end/lib/src/fasta/kernel/kernel_field_builder.dart View 1 chunk +1 line, -2 lines 0 comments Download
M pkg/front_end/lib/src/fasta/kernel/kernel_shadow_ast.dart View 45 chunks +314 lines, -33 lines 2 comments Download
A pkg/front_end/lib/src/fasta/type_inference/dependency_collector.dart View 1 chunk +37 lines, -0 lines 0 comments Download
M pkg/front_end/lib/src/fasta/type_inference/type_inference_engine.dart View 8 chunks +35 lines, -28 lines 0 comments Download
M pkg/front_end/lib/src/fasta/type_inference/type_inferrer.dart View 4 chunks +26 lines, -24 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
Paul Berry
3 years, 6 months ago (2017-05-30 17:54:33 UTC) #2
scheglov
LGTM https://codereview.chromium.org/2913743003/diff/1/pkg/front_end/lib/src/fasta/kernel/kernel_shadow_ast.dart File pkg/front_end/lib/src/fasta/kernel/kernel_shadow_ast.dart (right): https://codereview.chromium.org/2913743003/diff/1/pkg/front_end/lib/src/fasta/kernel/kernel_shadow_ast.dart#newcode1148 pkg/front_end/lib/src/fasta/kernel/kernel_shadow_ast.dart:1148: // TODO(paulberry): implement the proper logic here. Leaf ...
3 years, 6 months ago (2017-05-30 18:07:05 UTC) #3
Paul Berry
https://codereview.chromium.org/2913743003/diff/1/pkg/front_end/lib/src/fasta/kernel/kernel_shadow_ast.dart File pkg/front_end/lib/src/fasta/kernel/kernel_shadow_ast.dart (right): https://codereview.chromium.org/2913743003/diff/1/pkg/front_end/lib/src/fasta/kernel/kernel_shadow_ast.dart#newcode1148 pkg/front_end/lib/src/fasta/kernel/kernel_shadow_ast.dart:1148: // TODO(paulberry): implement the proper logic here. On 2017/05/30 ...
3 years, 6 months ago (2017-05-30 20:41:53 UTC) #4
Paul Berry
3 years, 6 months ago (2017-05-30 20:42:16 UTC) #6
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
0017ffd872ae21ab5e0bf6265dcb5acfd2febd11 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698