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

Issue 2769113004: Setup type and modifiers of local variables on creation. (Closed)

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

Description

Patch Set 1 #

Total comments: 10

Patch Set 2 : Address review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -30 lines) Patch
M pkg/front_end/lib/src/fasta/kernel/body_builder.dart View 1 5 chunks +42 lines, -27 lines 0 comments Download
M pkg/front_end/lib/src/fasta/kernel/kernel_variable_builder.dart View 1 chunk +4 lines, -0 lines 0 comments Download
M pkg/front_end/lib/src/fasta/parser/parser.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/language/language_kernel.status View 2 chunks +0 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
ahe
I only needed modifiers, but I threw types in there as I hope this will ...
3 years, 9 months ago (2017-03-23 09:41:28 UTC) #2
karlklose
LGTM https://codereview.chromium.org/2769113004/diff/1/pkg/front_end/lib/src/fasta/kernel/body_builder.dart File pkg/front_end/lib/src/fasta/kernel/body_builder.dart (right): https://codereview.chromium.org/2769113004/diff/1/pkg/front_end/lib/src/fasta/kernel/body_builder.dart#newcode919 pkg/front_end/lib/src/fasta/kernel/body_builder.dart:919: bool isConst = (currentLocalVariableModifiers & constMask) != 0; ...
3 years, 9 months ago (2017-03-23 09:52:15 UTC) #3
Paul Berry
lgtm https://codereview.chromium.org/2769113004/diff/1/pkg/front_end/lib/src/fasta/kernel/body_builder.dart File pkg/front_end/lib/src/fasta/kernel/body_builder.dart (right): https://codereview.chromium.org/2769113004/diff/1/pkg/front_end/lib/src/fasta/kernel/body_builder.dart#newcode958 pkg/front_end/lib/src/fasta/kernel/body_builder.dart:958: super.push(currentLocalVariableModifiers); Why not: push(currentLocalVariableModifiers ?? NullValue.LocalVariableModifiers); (and add ...
3 years, 9 months ago (2017-03-23 10:50:52 UTC) #4
ahe
Thank you, Paul and Karl! https://codereview.chromium.org/2769113004/diff/1/pkg/front_end/lib/src/fasta/kernel/body_builder.dart File pkg/front_end/lib/src/fasta/kernel/body_builder.dart (right): https://codereview.chromium.org/2769113004/diff/1/pkg/front_end/lib/src/fasta/kernel/body_builder.dart#newcode919 pkg/front_end/lib/src/fasta/kernel/body_builder.dart:919: bool isConst = (currentLocalVariableModifiers ...
3 years, 9 months ago (2017-03-23 11:17:55 UTC) #5
ahe
3 years, 9 months ago (2017-03-23 11:19:44 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
7e8639eebf77ae073805e42bf617ba73cd09ee4a (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698