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

Issue 2616933003: Ensure we're looking at the correct resolved AST when initializing fields in constructors. (Closed)

Created:
3 years, 11 months ago by Emily Fortuna
Modified:
3 years, 11 months ago
CC:
reviews_dartlang.org, sra1
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Ensure we're looking at the correct resolved AST when initializing fields in constructors. Step 30 of bagilliondy. BUG=https://github.com/dart-lang/sdk/issues/27394 R=sigmund@google.com Committed: https://github.com/dart-lang/sdk/commit/0c78abd0900d10198216034f296204f4de1c111e

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : dartfmt #

Total comments: 6

Patch Set 4 : . #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -14 lines) Patch
M pkg/compiler/lib/src/resolved_uri_translator.dart View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/ssa/builder_kernel.dart View 1 2 6 chunks +9 lines, -9 lines 0 comments Download
M pkg/compiler/lib/src/ssa/graph_builder.dart View 2 chunks +0 lines, -4 lines 0 comments Download
M pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart View 4 chunks +22 lines, -1 line 1 comment Download
M tests/compiler/dart2js/kernel/constructors_test.dart View 1 2 3 1 chunk +21 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (3 generated)
Emily Fortuna
After all that effort to write a test, we still need to implement some other ...
3 years, 11 months ago (2017-01-05 22:59:19 UTC) #2
Siggi Cherem (dart-lang)
lgtm https://codereview.chromium.org/2616933003/diff/40001/pkg/compiler/lib/src/resolved_uri_translator.dart File pkg/compiler/lib/src/resolved_uri_translator.dart (right): https://codereview.chromium.org/2616933003/diff/40001/pkg/compiler/lib/src/resolved_uri_translator.dart#newcode118 pkg/compiler/lib/src/resolved_uri_translator.dart:118: importingLibrary.canonicalUri.scheme == 'memory' || let's add a comment ...
3 years, 11 months ago (2017-01-05 23:23:31 UTC) #3
Emily Fortuna
https://codereview.chromium.org/2616933003/diff/40001/pkg/compiler/lib/src/resolved_uri_translator.dart File pkg/compiler/lib/src/resolved_uri_translator.dart (right): https://codereview.chromium.org/2616933003/diff/40001/pkg/compiler/lib/src/resolved_uri_translator.dart#newcode118 pkg/compiler/lib/src/resolved_uri_translator.dart:118: importingLibrary.canonicalUri.scheme == 'memory' || On 2017/01/05 23:23:31, Siggi Cherem ...
3 years, 11 months ago (2017-01-06 00:19:25 UTC) #4
Emily Fortuna
Committed patchset #4 (id:60001) manually as 0c78abd0900d10198216034f296204f4de1c111e (presubmit successful).
3 years, 11 months ago (2017-01-06 00:20:03 UTC) #6
sra1
3 years, 11 months ago (2017-01-06 00:39:26 UTC) #8
Message was sent while issue was closed.
DBC

https://codereview.chromium.org/2616933003/diff/60001/pkg/compiler/lib/src/ss...
File pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart (right):

https://codereview.chromium.org/2616933003/diff/60001/pkg/compiler/lib/src/ss...
pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart:53: Queue<ResolvedAst>
_resolvedAstStack;
You could simply use

  final List<ResolvedAst> _resolvedAstStack = <ResolvedAst>[];


growable lists support stacks via add() and removeLast().

Powered by Google App Engine
This is Rietveld 408576698