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

Issue 23638006: Merge two static_final_field tests and rewrite a negative test to a multi-test (Closed)

Created:
7 years, 3 months ago by Søren Gjesse
Modified:
7 years, 3 months ago
Reviewers:
kustermann
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Merge two static_final_field tests and rewrite a negative test to a multi-test Removed negative static_final_field_negative_test.dart and created a multi-test in static_final_field2_test.dart. Changed throw7_negative_test.dart into a multi-test throw7_test.dart More Expect.equals cleanup in scope_variable_test.dart. Add more issue numbers as well. R=kustermann@google.com BUG= Committed: https://code.google.com/p/dart/source/detail?r=27123

Patch Set 1 #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -112 lines) Patch
M tests/language/language_analyzer.status View 2 chunks +12 lines, -15 lines 0 comments Download
M tests/language/language_analyzer2.status View 2 chunks +12 lines, -14 lines 0 comments Download
M tests/language/language_dart2js.status View 3 chunks +12 lines, -11 lines 0 comments Download
M tests/language/scope_variable_test.dart View 1 chunk +3 lines, -3 lines 0 comments Download
M tests/language/static_final_field2_test.dart View 1 chunk +9 lines, -0 lines 2 comments Download
D tests/language/static_final_field_negative_test.dart View 1 chunk +0 lines, -24 lines 0 comments Download
D tests/language/throw7_negative_test.dart View 1 chunk +0 lines, -45 lines 0 comments Download
A tests/language/throw7_test.dart View 1 chunk +16 lines, -0 lines 3 comments Download

Messages

Total messages: 6 (0 generated)
Søren Gjesse
7 years, 3 months ago (2013-09-04 11:02:25 UTC) #1
kustermann
LGTM with comments. https://codereview.chromium.org/23638006/diff/1/tests/language/static_final_field2_test.dart File tests/language/static_final_field2_test.dart (right): https://codereview.chromium.org/23638006/diff/1/tests/language/static_final_field2_test.dart#newcode15 tests/language/static_final_field2_test.dart:15: static const c; /// 02: continued ...
7 years, 3 months ago (2013-09-04 11:13:01 UTC) #2
Søren Gjesse
https://codereview.chromium.org/23638006/diff/1/tests/language/static_final_field2_test.dart File tests/language/static_final_field2_test.dart (right): https://codereview.chromium.org/23638006/diff/1/tests/language/static_final_field2_test.dart#newcode15 tests/language/static_final_field2_test.dart:15: static const c; /// 02: continued On 2013/09/04 11:13:01, ...
7 years, 3 months ago (2013-09-04 12:58:52 UTC) #3
kustermann
https://codereview.chromium.org/23638006/diff/1/tests/language/throw7_test.dart File tests/language/throw7_test.dart (right): https://codereview.chromium.org/23638006/diff/1/tests/language/throw7_test.dart#newcode15 tests/language/throw7_test.dart:15: on Exception catch (exception) { i = 3; } ...
7 years, 3 months ago (2013-09-04 13:03:06 UTC) #4
Søren Gjesse
Committed patchset #1 manually as r27123 (presubmit successful).
7 years, 3 months ago (2013-09-04 13:26:44 UTC) #5
Søren Gjesse
7 years, 3 months ago (2013-09-04 13:45:09 UTC) #6
Message was sent while issue was closed.
On 2013/09/04 13:03:06, kustermann wrote:
>
https://codereview.chromium.org/23638006/diff/1/tests/language/throw7_test.dart
> File tests/language/throw7_test.dart (right):
> 
>
https://codereview.chromium.org/23638006/diff/1/tests/language/throw7_test.da...
> tests/language/throw7_test.dart:15: on Exception catch (exception) { i = 3; } 
> /// 01: compile-time error
> On 2013/09/04 12:58:52, Søren Gjesse wrote:
> > On 2013/09/04 11:13:01, kustermann wrote:
> > > Does the analyzer give a warning here as well?
> > 
> > Currently it just accepts it, issue 12159.
> 
> If this *should* result in a warning, you should change this line to
> /// 01: compile-time error, static type warning
> right?

Actually I was not able to find any information on this in the spec
https://www.dartlang.org/docs/spec/latest/dart-language-specification.html#h.....
I will ask Gilad.

Powered by Google App Engine
This is Rietveld 408576698