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

Issue 2595583002: Remove StatementType (Closed)

Created:
4 years ago by Johnni Winther
Modified:
4 years ago
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 6

Patch Set 2 : Updated cf. comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -115 lines) Patch
M pkg/compiler/lib/src/dart_types.dart View 5 chunks +0 lines, -35 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/runtime_types.dart View 1 chunk +0 lines, -5 lines 0 comments Download
M pkg/compiler/lib/src/kernel/kernel.dart View 1 chunk +0 lines, -3 lines 0 comments Download
M pkg/compiler/lib/src/serialization/equivalence.dart View 1 chunk +0 lines, -5 lines 0 comments Download
M pkg/compiler/lib/src/serialization/type_serialization.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/ssa/graph_builder.dart View 1 chunk +0 lines, -4 lines 0 comments Download
M pkg/compiler/lib/src/typechecker.dart View 1 19 chunks +50 lines, -58 lines 0 comments Download
M tests/compiler/dart2js/type_checker_test.dart View 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
Johnni Winther
4 years ago (2016-12-20 15:07:17 UTC) #2
Siggi Cherem (dart-lang)
lgtm with some fixes below https://codereview.chromium.org/2595583002/diff/1/pkg/compiler/lib/src/typechecker.dart File pkg/compiler/lib/src/typechecker.dart (right): https://codereview.chromium.org/2595583002/diff/1/pkg/compiler/lib/src/typechecker.dart#newcode455 pkg/compiler/lib/src/typechecker.dart:455: void analyzeNode(Node node, {bool ...
4 years ago (2016-12-20 20:58:42 UTC) #3
Johnni Winther
Committed patchset #2 (id:20001) manually as 1e31cd9e5a4571e89da5796f255157e8de8bd372 (presubmit successful).
4 years ago (2016-12-21 09:22:17 UTC) #5
Johnni Winther
https://codereview.chromium.org/2595583002/diff/1/pkg/compiler/lib/src/typechecker.dart File pkg/compiler/lib/src/typechecker.dart (right): https://codereview.chromium.org/2595583002/diff/1/pkg/compiler/lib/src/typechecker.dart#newcode455 pkg/compiler/lib/src/typechecker.dart:455: void analyzeNode(Node node, {bool inInitializer: false}) { On 2016/12/20 ...
4 years ago (2016-12-21 09:32:43 UTC) #6
Johnni Winther
4 years ago (2016-12-21 10:25:02 UTC) #7
Message was sent while issue was closed.
https://codereview.chromium.org/2595583002/diff/1/pkg/compiler/lib/src/typech...
File pkg/compiler/lib/src/typechecker.dart (right):

https://codereview.chromium.org/2595583002/diff/1/pkg/compiler/lib/src/typech...
pkg/compiler/lib/src/typechecker.dart:704: analyzeInPromotedContext(condition,
thenPart, mustHaveType: false);
On 2016/12/20 20:58:42, Siggi Cherem (dart-lang) wrote:
> The default value is also false. Did you mean to keep this one clear and add
it
> in `&&` below?

Default value should have been `true`.

https://codereview.chromium.org/2595583002/diff/1/pkg/compiler/lib/src/typech...
pkg/compiler/lib/src/typechecker.dart:1660: analyzeNode(link.head,
inInitializer: analyzingInitializer);
On 2016/12/20 20:58:42, Siggi Cherem (dart-lang) wrote:
> is it always the case that node-lists are used only for statements?

No, but we don't need the individual types, anyway.

Powered by Google App Engine
This is Rietveld 408576698