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

Issue 11051031: Add catchless catch clauses (Closed)

Created:
8 years, 2 months ago by hausner
Modified:
8 years, 2 months ago
Reviewers:
srdjan
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Add catchless catch clauses The Dart grammar says the catch clause is optional, ie. the following is legal: try { ... } on String { ... } Added a test case Committed: https://code.google.com/p/dart/source/detail?r=13240

Patch Set 1 #

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -88 lines) Patch
M runtime/vm/parser.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M runtime/vm/parser.cc View 1 6 chunks +36 lines, -87 lines 0 comments Download
M tests/language/try_catch_test.dart View 1 2 chunks +13 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
hausner
8 years, 2 months ago (2012-10-03 23:25:58 UTC) #1
srdjan
8 years, 2 months ago (2012-10-03 23:31:28 UTC) #2
LGTM (after testing all our friends: dart2js, dartc, dart2dart)

Powered by Google App Engine
This is Rietveld 408576698