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

Issue 10006040: Add a test to check correct references to a global variable that initially throws (Closed)

Created:
8 years, 8 months ago by srdjan
Modified:
8 years, 8 months ago
Reviewers:
regis, hausner
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Add a test to check correct references to a global variable that initially throws a type error. Committed: https://code.google.com/p/dart/source/detail?r=6294

Patch Set 1 #

Total comments: 8

Patch Set 2 : #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -0 lines) Patch
M runtime/vm/parser.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M tests/language/language.status View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M tests/language/language-leg.status View 1 1 chunk +1 line, -0 lines 0 comments Download
A tests/language/src/StaticInitializerTypeErrorTest.dart View 1 2 3 1 chunk +28 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
srdjan
8 years, 8 months ago (2012-04-06 18:33:39 UTC) #1
regis
LGMT Feel free to ignore my suggestion to rename the test. https://chromiumcodereview.appspot.com/10006040/diff/1/tests/language/language-leg.status File tests/language/language-leg.status (right): ...
8 years, 8 months ago (2012-04-06 19:03:17 UTC) #2
srdjan
https://chromiumcodereview.appspot.com/10006040/diff/1/tests/language/language-leg.status File tests/language/language-leg.status (right): https://chromiumcodereview.appspot.com/10006040/diff/1/tests/language/language-leg.status#newcode12 tests/language/language-leg.status:12: TypeErrorTest: Fail # Checked mode not supported. On 2012/04/06 ...
8 years, 8 months ago (2012-04-06 20:07:33 UTC) #3
hausner
lgtm https://chromiumcodereview.appspot.com/10006040/diff/5001/tests/language/src/StaticInitializerTypeErrorTest.dart File tests/language/src/StaticInitializerTypeErrorTest.dart (right): https://chromiumcodereview.appspot.com/10006040/diff/5001/tests/language/src/StaticInitializerTypeErrorTest.dart#newcode4 tests/language/src/StaticInitializerTypeErrorTest.dart:4: // Dart test program for testing isolate communication ...
8 years, 8 months ago (2012-04-06 20:15:03 UTC) #4
srdjan
https://chromiumcodereview.appspot.com/10006040/diff/5001/tests/language/src/StaticInitializerTypeErrorTest.dart File tests/language/src/StaticInitializerTypeErrorTest.dart (right): https://chromiumcodereview.appspot.com/10006040/diff/5001/tests/language/src/StaticInitializerTypeErrorTest.dart#newcode4 tests/language/src/StaticInitializerTypeErrorTest.dart:4: // Dart test program for testing isolate communication with ...
8 years, 8 months ago (2012-04-06 20:20:37 UTC) #5
srdjan
Also added the change to parser.cc that initializes a field to NULL (from sentinel) if ...
8 years, 8 months ago (2012-04-06 20:25:11 UTC) #6
regis
LGTM Thanks for submitting this new test. I'll work on the bug now.
8 years, 8 months ago (2012-04-06 20:27:32 UTC) #7
hausner
8 years, 8 months ago (2012-04-06 20:41:14 UTC) #8
lgtm

Powered by Google App Engine
This is Rietveld 408576698