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

Issue 26761002: Add test for using a type literal for a malbounded type. Crashes the VM in debug mode. (Closed)

Created:
7 years, 2 months ago by rmacnak
Modified:
7 years, 2 months ago
Reviewers:
regis, gbracha, ahe
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Add test for using a type literal for a malbounded type. Crashes the VM in debug mode. R=gbracha@google.com, regis@google.com Committed: https://code.google.com/p/dart/source/detail?r=28428

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -4 lines) Patch
M tests/language/language.status View 1 1 chunk +1 line, -1 line 1 comment Download
A + tests/language/malbounded_type_literal_test.dart View 1 2 1 chunk +5 lines, -3 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
rmacnak
7 years, 2 months ago (2013-10-09 21:12:43 UTC) #1
gbracha
lgtm with comment https://codereview.chromium.org/26761002/diff/2001/tests/language/malbounded_type_literal_test.dart File tests/language/malbounded_type_literal_test.dart (right): https://codereview.chromium.org/26761002/diff/2001/tests/language/malbounded_type_literal_test.dart#newcode13 tests/language/malbounded_type_literal_test.dart:13: Expect.isTrue(t is Type); The test looks ...
7 years, 2 months ago (2013-10-09 21:15:26 UTC) #2
regis
LGTM https://codereview.chromium.org/26761002/diff/2001/tests/language/malbounded_type_literal_test.dart File tests/language/malbounded_type_literal_test.dart (left): https://codereview.chromium.org/26761002/diff/2001/tests/language/malbounded_type_literal_test.dart#oldcode11 tests/language/malbounded_type_literal_test.dart:11: Expect.isFalse(Primitives.isJsshell); Where is this coming from? Did you ...
7 years, 2 months ago (2013-10-09 21:17:33 UTC) #3
rmacnak
On 2013/10/09 21:17:33, regis wrote: > LGTM > > https://codereview.chromium.org/26761002/diff/2001/tests/language/malbounded_type_literal_test.dart > File tests/language/malbounded_type_literal_test.dart (left): > ...
7 years, 2 months ago (2013-10-09 21:26:28 UTC) #4
regis
On 2013/10/09 21:26:28, Ryan Macnak wrote: > On 2013/10/09 21:17:33, regis wrote: > > LGTM ...
7 years, 2 months ago (2013-10-09 21:31:59 UTC) #5
rmacnak
Committed patchset #3 manually as r28428 (presubmit successful).
7 years, 2 months ago (2013-10-09 23:09:35 UTC) #6
ahe
7 years, 2 months ago (2013-10-10 15:41:10 UTC) #7
Message was sent while issue was closed.
LGTM!

https://codereview.chromium.org/26761002/diff/10001/tests/language/language.s...
File tests/language/language.status (right):

https://codereview.chromium.org/26761002/diff/10001/tests/language/language.s...
tests/language/language.status:33: malbounded_type_literal_test: Pass, Crash #
Issue 13952
This indicates that this is flaky. My understanding from the CL description is
that it always crashes in debug mode, in which case it should be:

[ $compiler == none && $mode == debug ]
malbounded_type_literal_test: Crash # Issue 13952

Powered by Google App Engine
This is Rietveld 408576698