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

Issue 2961723002: Remove hack from KernelTypePromoter.isPromotionCandidate. (Closed)

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

Description

Remove hack from KernelTypePromoter.isPromotionCandidate. All variable declarations encountered by type inference are now of type KernelVariableDeclaration, so we no longer need a hack to handle ordinary VariableDeclaration objects. Removing the hack avoids covering up bugs. R=scheglov@google.com Committed: https://github.com/dart-lang/sdk/commit/fc32e0e72b572ff42de9651fdd3c5e400b49dd1f

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -9 lines) Patch
M pkg/front_end/lib/src/fasta/kernel/kernel_shadow_ast.dart View 1 chunk +3 lines, -9 lines 0 comments Download

Messages

Total messages: 5 (2 generated)
Paul Berry
3 years, 5 months ago (2017-06-26 22:15:17 UTC) #2
scheglov
LGTM
3 years, 5 months ago (2017-06-26 23:34:02 UTC) #3
Paul Berry
3 years, 5 months ago (2017-06-27 13:00:11 UTC) #5
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
fc32e0e72b572ff42de9651fdd3c5e400b49dd1f (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698