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

Issue 14211008: Add support for rethrow and start treating throw <expr> as an expression. (Closed)

Created:
7 years, 8 months ago by kasperl
Modified:
7 years, 8 months ago
Reviewers:
ahe, ngeoffray
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Add support for rethrow and start treating throw <expr> as an expression. R=ngeoffray@google.com BUG= Committed: https://code.google.com/p/dart/source/detail?r=21930

Patch Set 1 #

Total comments: 4

Patch Set 2 : Add deprecation warning. #

Patch Set 3 : Use ?:. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+110 lines, -62 lines) Patch
M sdk/lib/_internal/compiler/implementation/dart_backend/utils.dart View 1 chunk +3 lines, -0 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/resolution/members.dart View 1 2 2 chunks +9 lines, -6 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/scanner/keyword.dart View 1 chunk +1 line, -0 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/scanner/listener.dart View 1 2 chunks +10 lines, -4 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/scanner/parser.dart View 1 2 3 chunks +29 lines, -12 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/ssa/builder.dart View 1 2 4 chunks +23 lines, -23 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/tree/nodes.dart View 6 chunks +20 lines, -3 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/tree/prettyprint.dart View 1 chunk +4 lines, -0 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/tree/unparser.dart View 2 chunks +6 lines, -5 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/typechecker.dart View 2 chunks +5 lines, -1 line 0 comments Download
M tests/co19/co19-dart2js.status View 3 chunks +0 lines, -3 lines 0 comments Download
M tests/language/language.status View 2 chunks +0 lines, -3 lines 0 comments Download
M tests/language/language_dart2js.status View 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
kasperl
7 years, 8 months ago (2013-04-23 09:08:47 UTC) #1
ahe
https://codereview.chromium.org/14211008/diff/1/sdk/lib/_internal/compiler/implementation/scanner/parser.dart File sdk/lib/_internal/compiler/implementation/scanner/parser.dart (right): https://codereview.chromium.org/14211008/diff/1/sdk/lib/_internal/compiler/implementation/scanner/parser.dart#newcode1204 sdk/lib/_internal/compiler/implementation/scanner/parser.dart:1204: return parseRethrowStatement(token); I think this should report a deprecated ...
7 years, 8 months ago (2013-04-23 09:37:25 UTC) #2
kasperl
https://codereview.chromium.org/14211008/diff/1/sdk/lib/_internal/compiler/implementation/scanner/parser.dart File sdk/lib/_internal/compiler/implementation/scanner/parser.dart (right): https://codereview.chromium.org/14211008/diff/1/sdk/lib/_internal/compiler/implementation/scanner/parser.dart#newcode1204 sdk/lib/_internal/compiler/implementation/scanner/parser.dart:1204: return parseRethrowStatement(token); On 2013/04/23 09:37:25, ahe wrote: > I ...
7 years, 8 months ago (2013-04-23 11:26:12 UTC) #3
kasperl
Do you have any comments, Nicolas? I'll chat with Peter about this when he's back.
7 years, 8 months ago (2013-04-24 06:00:00 UTC) #4
ngeoffray
LGTM
7 years, 8 months ago (2013-04-24 08:08:02 UTC) #5
kasperl
7 years, 8 months ago (2013-04-24 08:24:41 UTC) #6
Message was sent while issue was closed.
Committed patchset #3 manually as r21930 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698