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

Issue 15689009: Type check try statements (Closed)

Created:
7 years, 7 months ago by Johnni Winther
Modified:
7 years, 6 months ago
Reviewers:
karlklose
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : Small fixes #

Patch Set 3 : Handle invalid type count. #

Total comments: 12

Patch Set 4 : Rebased #

Patch Set 5 : Updated cf. comments. #

Total comments: 1

Patch Set 6 : Updated cf. comments. #

Total comments: 1

Patch Set 7 : Rename variable. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -22 lines) Patch
M sdk/lib/_internal/compiler/implementation/compiler.dart View 1 2 3 4 3 chunks +5 lines, -1 line 0 comments Download
M sdk/lib/_internal/compiler/implementation/resolution/members.dart View 1 2 3 4 5 6 2 chunks +28 lines, -7 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/typechecker.dart View 1 2 3 4 5 6 10 chunks +34 lines, -13 lines 0 comments Download
M sdk/lib/io/file_impl.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/cpa_inference_test.dart View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M tests/compiler/dart2js/dart_backend_test.dart View 1 1 chunk +1 line, -0 lines 0 comments Download
M tests/compiler/dart2js/mock_compiler.dart View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M tests/compiler/dart2js/resolver_test.dart View 1 1 chunk +1 line, -0 lines 0 comments Download
M tests/compiler/dart2js/size_test.dart View 1 1 chunk +1 line, -0 lines 0 comments Download
M tests/compiler/dart2js/type_checker_test.dart View 2 chunks +16 lines, -0 lines 0 comments Download
M tests/compiler/dart2js/value_range_test.dart View 1 1 chunk +1 line, -0 lines 0 comments Download
M tests/utils/dummy_compiler_test.dart View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Johnni Winther
7 years, 7 months ago (2013-05-25 20:57:17 UTC) #1
karlklose
LGTM. https://codereview.chromium.org/15689009/diff/3013/sdk/lib/_internal/compiler/implementation/compiler.dart File sdk/lib/_internal/compiler/implementation/compiler.dart (right): https://codereview.chromium.org/15689009/diff/3013/sdk/lib/_internal/compiler/implementation/compiler.dart#newcode1114 sdk/lib/_internal/compiler/implementation/compiler.dart:1114: !(element.isLibrary() || element.isCompilationUnit())) { I think !element.isLibrary() && ...
7 years, 6 months ago (2013-05-27 08:45:22 UTC) #2
Johnni Winther
PTAL https://codereview.chromium.org/15689009/diff/3013/sdk/lib/_internal/compiler/implementation/compiler.dart File sdk/lib/_internal/compiler/implementation/compiler.dart (right): https://codereview.chromium.org/15689009/diff/3013/sdk/lib/_internal/compiler/implementation/compiler.dart#newcode1114 sdk/lib/_internal/compiler/implementation/compiler.dart:1114: !(element.isLibrary() || element.isCompilationUnit())) { On 2013/05/27 08:45:22, karlklose ...
7 years, 6 months ago (2013-05-27 11:01:23 UTC) #3
Johnni Winther
https://codereview.chromium.org/15689009/diff/3013/sdk/lib/_internal/compiler/implementation/typechecker.dart File sdk/lib/_internal/compiler/implementation/typechecker.dart (right): https://codereview.chromium.org/15689009/diff/3013/sdk/lib/_internal/compiler/implementation/typechecker.dart#newcode1142 sdk/lib/_internal/compiler/implementation/typechecker.dart:1142: // TODO(johnniwinther): Handle reachability. On 2013/05/27 08:45:22, karlklose wrote: ...
7 years, 6 months ago (2013-05-27 12:41:07 UTC) #4
karlklose
SLGTM. https://codereview.chromium.org/15689009/diff/14001/sdk/lib/_internal/compiler/implementation/resolution/members.dart File sdk/lib/_internal/compiler/implementation/resolution/members.dart (right): https://codereview.chromium.org/15689009/diff/14001/sdk/lib/_internal/compiler/implementation/resolution/members.dart#newcode2981 sdk/lib/_internal/compiler/implementation/resolution/members.dart:2981: Link<Node> link = node.formals.nodes; link -> formalsToProcess? formalsLink? ...
7 years, 6 months ago (2013-05-27 12:43:54 UTC) #5
Johnni Winther
7 years, 6 months ago (2013-05-27 12:48:08 UTC) #6
Message was sent while issue was closed.
Committed patchset #7 manually as r23220 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698