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

Issue 2935783003: Add type inference for assignments to `super[...]` (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

Patch Set 1 #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+886 lines, -46 lines) Patch
M pkg/front_end/lib/src/fasta/kernel/body_builder.dart View 1 chunk +1 line, -1 line 3 comments Download
M pkg/front_end/lib/src/fasta/kernel/fasta_accessors.dart View 1 chunk +4 lines, -0 lines 0 comments Download
M pkg/front_end/lib/src/fasta/kernel/frontend_accessors.dart View 1 chunk +31 lines, -12 lines 0 comments Download
M pkg/front_end/lib/src/fasta/kernel/kernel_shadow_ast.dart View 5 chunks +44 lines, -27 lines 0 comments Download
M pkg/front_end/lib/src/fasta/type_inference/type_inferrer.dart View 3 chunks +23 lines, -6 lines 0 comments Download
M pkg/front_end/test/fasta/kompile.status View 1 chunk +2 lines, -0 lines 0 comments Download
A pkg/front_end/testcases/inference/infer_assign_to_index_super.dart View 1 chunk +59 lines, -0 lines 0 comments Download
A pkg/front_end/testcases/inference/infer_assign_to_index_super.dart.direct.expect View 1 chunk +64 lines, -0 lines 0 comments Download
A pkg/front_end/testcases/inference/infer_assign_to_index_super.dart.outline.expect View 1 chunk +46 lines, -0 lines 0 comments Download
A pkg/front_end/testcases/inference/infer_assign_to_index_super.dart.strong.expect View 1 chunk +64 lines, -0 lines 0 comments Download
A pkg/front_end/testcases/inference/infer_assign_to_index_super_upwards.dart View 1 chunk +146 lines, -0 lines 0 comments Download
A pkg/front_end/testcases/inference/infer_assign_to_index_super_upwards.dart.direct.expect View 1 chunk +165 lines, -0 lines 2 comments Download
A pkg/front_end/testcases/inference/infer_assign_to_index_super_upwards.dart.outline.expect View 1 chunk +72 lines, -0 lines 0 comments Download
A pkg/front_end/testcases/inference/infer_assign_to_index_super_upwards.dart.strong.expect View 1 chunk +165 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
Paul Berry
3 years, 6 months ago (2017-06-12 20:05:04 UTC) #2
scheglov
LGTM https://codereview.chromium.org/2935783003/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/2935783003/diff/1/pkg/front_end/lib/src/fasta/kernel/body_builder.dart#newcode1898 pkg/front_end/lib/src/fasta/kernel/body_builder.dart:1898: Token openCurlyBracket, Token closeCurlyBracket) { Hm... Why it ...
3 years, 6 months ago (2017-06-12 20:22:17 UTC) #3
Paul Berry
https://codereview.chromium.org/2935783003/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/2935783003/diff/1/pkg/front_end/lib/src/fasta/kernel/body_builder.dart#newcode1898 pkg/front_end/lib/src/fasta/kernel/body_builder.dart:1898: Token openCurlyBracket, Token closeCurlyBracket) { On 2017/06/12 20:22:16, scheglov ...
3 years, 6 months ago (2017-06-12 20:33:08 UTC) #4
Paul Berry
Committed patchset #1 (id:1) manually as 5d581919487bbfa17445bcf5c5d270c00da139b4 (presubmit successful).
3 years, 6 months ago (2017-06-12 20:34:45 UTC) #6
ahe
DBC https://codereview.chromium.org/2935783003/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/2935783003/diff/1/pkg/front_end/lib/src/fasta/kernel/body_builder.dart#newcode1898 pkg/front_end/lib/src/fasta/kernel/body_builder.dart:1898: Token openCurlyBracket, Token closeCurlyBracket) { On 2017/06/12 20:22:16, ...
3 years, 6 months ago (2017-06-12 20:34:58 UTC) #7
Paul Berry
3 years, 6 months ago (2017-06-12 21:03:23 UTC) #8
Message was sent while issue was closed.
On 2017/06/12 20:34:58, ahe wrote:
> DBC
> 
>
https://codereview.chromium.org/2935783003/diff/1/pkg/front_end/lib/src/fasta...
> File pkg/front_end/lib/src/fasta/kernel/body_builder.dart (right):
> 
>
https://codereview.chromium.org/2935783003/diff/1/pkg/front_end/lib/src/fasta...
> pkg/front_end/lib/src/fasta/kernel/body_builder.dart:1898: Token
> openCurlyBracket, Token closeCurlyBracket) {
> On 2017/06/12 20:22:16, scheglov wrote:
> > Hm... Why it is curly? I thought it is square.
> 
> Could you add a todo about that for me so I can clean it up in all places. I
> suspect this has been copied a lot.

Whoops, didn't notice your comment before I had already uploaded:
https://codereview.chromium.org/2935833002/

Powered by Google App Engine
This is Rietveld 408576698