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

Issue 33813003: Do not generate a compile-time error if there is more than one catch-all clause (Closed)

Created:
7 years, 2 months ago by hausner
Modified:
7 years, 2 months ago
Reviewers:
Ivan Posva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Do not generate a compile-time error if there is more than one catch-all clause This includes catch clauses with malformed types, which are essentially catch-all clauses. The spec does not mandate such a compile-time error. (It probably did a long time ago.) Fixes issue 8601, 12159, 13019 R=iposva@google.com Committed: https://code.google.com/p/dart/source/detail?r=28999

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -32 lines) Patch
M runtime/vm/parser.cc View 1 chunk +0 lines, -7 lines 0 comments Download
M tests/language/language.status View 1 chunk +0 lines, -1 line 0 comments Download
M tests/language/language_analyzer.status View 1 chunk +0 lines, -2 lines 0 comments Download
M tests/language/language_analyzer2.status View 1 chunk +0 lines, -2 lines 0 comments Download
M tests/language/language_dart2js.status View 3 chunks +0 lines, -4 lines 0 comments Download
D tests/language/throw7_test.dart View 1 chunk +0 lines, -16 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
hausner
7 years, 2 months ago (2013-10-21 23:49:58 UTC) #1
Ivan Posva
LGTM -ip
7 years, 2 months ago (2013-10-21 23:54:08 UTC) #2
hausner
7 years, 2 months ago (2013-10-22 15:44:36 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 manually as r28999 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698