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

Issue 10944041: Ensure that parser throws an error when parsing x is! T with malformed type T. (Closed)

Created:
8 years, 3 months ago by Vyacheslav Egorov (Google)
Modified:
8 years, 3 months ago
Reviewers:
regis
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Ensure that parser throws an error when parsing x is! T with malformed type T. Otherwise VM crashes in the flow graph builder R=regis@google.com BUG= Committed: https://code.google.com/p/dart/source/detail?r=12608

Patch Set 1 #

Total comments: 1

Patch Set 2 : fix comment in the test. #

Patch Set 3 : make test positive #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -13 lines) Patch
M runtime/vm/parser.cc View 1 chunk +2 lines, -1 line 0 comments Download
A + tests/language/isnot_malformed_type_test.dart View 1 2 1 chunk +7 lines, -12 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Vyacheslav Egorov (Google)
8 years, 3 months ago (2012-09-19 21:24:44 UTC) #1
regis
LGTM with one comment about the test. Thanks for the fix. -- Regis https://codereview.chromium.org/10944041/diff/1/tests/language/isnot_malformed_type_negative_test.dart File ...
8 years, 3 months ago (2012-09-19 21:35:01 UTC) #2
Vyacheslav Egorov (Google)
8 years, 3 months ago (2012-09-19 21:47:35 UTC) #3
Did not know about test annotations in comments... Thanks for the tip!

Made test positive. 

Landing.

Powered by Google App Engine
This is Rietveld 408576698