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

Issue 2999733002: Migrate test block 47 and downstream dependencies to Dart 2.0. (Closed)

Created:
3 years, 4 months ago by jcollins
Modified:
3 years, 4 months ago
Reviewers:
bkonyi, sra1, Bob Nystrom
CC:
dart2now-team_google.com, reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Migrate test block 47 and downstream dependencies to Dart 2.0. Special items in this block: - checked_mode_helper is a helper library that needed extensive modifications. Fixing it up for Dart 2.0 meant simultaneously migrating its users in blocks 113 and 163. Renamed it to dynamic_type_helper to try to reflect what it's actually doing now. - Many minor breakouts of compile-time errors and conversion from static warnings. BUG= R=bkonyi@google.com Committed: https://github.com/dart-lang/sdk/commit/52ba74db8fddc85b3d823baae08f9d800df29015

Patch Set 1 #

Total comments: 4

Patch Set 2 : Review comments #

Patch Set 3 : Sync and update #

Total comments: 1

Patch Set 4 : Review comments #

Patch Set 5 : Whitespace #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+3890 lines, -894 lines) Patch
A tests/angular/.blazeproject View 1 1 chunk +7 lines, -0 lines 0 comments Download
A tests/dart/.blazeproject View 1 1 chunk +10 lines, -0 lines 0 comments Download
D tests/language/checked_mode_helper.dart View 1 chunk +0 lines, -53 lines 0 comments Download
D tests/language/checked_null_test.dart View 1 chunk +0 lines, -27 lines 0 comments Download
D tests/language/checked_setter2_test.dart View 1 chunk +0 lines, -31 lines 0 comments Download
D tests/language/checked_setter3_test.dart View 1 chunk +0 lines, -43 lines 0 comments Download
D tests/language/checked_setter_test.dart View 1 chunk +0 lines, -31 lines 0 comments Download
D tests/language/class_codegen_test.dart View 1 chunk +0 lines, -30 lines 0 comments Download
D tests/language/class_cycle2_test.dart View 1 chunk +0 lines, -18 lines 0 comments Download
D tests/language/class_cycle_test.dart View 1 chunk +0 lines, -31 lines 0 comments Download
D tests/language/function_subtype_inline2_test.dart View 1 chunk +0 lines, -41 lines 0 comments Download
D tests/language/generic_constructor_mixin2_test.dart View 1 chunk +0 lines, -24 lines 0 comments Download
D tests/language/generic_constructor_mixin3_test.dart View 1 chunk +0 lines, -23 lines 0 comments Download
D tests/language/generic_constructor_mixin_test.dart View 1 chunk +0 lines, -22 lines 0 comments Download
M tests/language/language_dart2js.status View 1 2 7 chunks +0 lines, -25 lines 0 comments Download
D tests/language/typevariable_substitution2_test.dart View 1 chunk +0 lines, -25 lines 0 comments Download
A + tests/language_2/checked_null_test.dart View 1 2 chunks +3 lines, -3 lines 0 comments Download
A + tests/language_2/checked_setter2_test.dart View 1 2 chunks +2 lines, -13 lines 0 comments Download
A tests/language_2/checked_setter3_test.dart View 1 1 chunk +23 lines, -0 lines 0 comments Download
A + tests/language_2/checked_setter_test.dart View 1 2 1 chunk +1 line, -10 lines 0 comments Download
A + tests/language_2/class_codegen_test.dart View 0 chunks +-1 lines, --1 lines 0 comments Download
A + tests/language_2/class_cycle2_test.dart View 0 chunks +-1 lines, --1 lines 0 comments Download
A + tests/language_2/class_cycle_test.dart View 0 chunks +-1 lines, --1 lines 0 comments Download
M tests/language_2/class_literal_test.dart View 1 2 3 4 1 chunk +38 lines, -27 lines 0 comments Download
A tests/language_2/dynamic_type_helper.dart View 1 chunk +36 lines, -0 lines 0 comments Download
A + tests/language_2/function_subtype_inline2_test.dart View 1 chunk +1 line, -1 line 0 comments Download
A + tests/language_2/generic_constructor_mixin2_test.dart View 1 2 chunks +2 lines, -2 lines 0 comments Download
A + tests/language_2/generic_constructor_mixin3_test.dart View 2 chunks +2 lines, -2 lines 0 comments Download
A + tests/language_2/generic_constructor_mixin_test.dart View 1 2 chunks +3 lines, -3 lines 0 comments Download
M tests/language_2/language_2_analyzer.status View 1 2 1 chunk +35 lines, -0 lines 0 comments Download
M tests/language_2/language_2_dart2js.status View 1 2 4 chunks +161 lines, -0 lines 0 comments Download
M tests/language_2/language_2_dartdevc.status View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M tests/language_2/language_2_precompiled.status View 1 2 2 chunks +36 lines, -0 lines 0 comments Download
M tests/language_2/language_2_vm.status View 1 2 1 chunk +36 lines, -0 lines 0 comments Download
A + tests/language_2/typevariable_substitution2_test.dart View 2 chunks +2 lines, -2 lines 0 comments Download
D tests/language_strong/checked_mode_helper.dart View 1 chunk +0 lines, -53 lines 0 comments Download
D tests/language_strong/checked_null_test.dart View 1 chunk +0 lines, -27 lines 0 comments Download
D tests/language_strong/checked_setter2_test.dart View 1 chunk +0 lines, -31 lines 0 comments Download
D tests/language_strong/checked_setter3_test.dart View 1 chunk +0 lines, -43 lines 0 comments Download
D tests/language_strong/checked_setter_test.dart View 1 chunk +0 lines, -31 lines 0 comments Download
D tests/language_strong/class_codegen_test.dart View 1 chunk +0 lines, -30 lines 0 comments Download
D tests/language_strong/class_cycle2_test.dart View 1 chunk +0 lines, -18 lines 0 comments Download
D tests/language_strong/class_cycle_test.dart View 1 chunk +0 lines, -31 lines 0 comments Download
D tests/language_strong/function_subtype_inline2_test.dart View 1 chunk +0 lines, -41 lines 0 comments Download
D tests/language_strong/generic_constructor_mixin2_test.dart View 1 chunk +0 lines, -24 lines 0 comments Download
D tests/language_strong/generic_constructor_mixin3_test.dart View 1 chunk +0 lines, -23 lines 0 comments Download
D tests/language_strong/generic_constructor_mixin_test.dart View 1 chunk +0 lines, -22 lines 0 comments Download
M tests/language_strong/language_strong.status View 1 2 4 chunks +0 lines, -11 lines 0 comments Download
D tests/language_strong/typevariable_substitution2_test.dart View 1 chunk +0 lines, -25 lines 0 comments Download
A tests/search/.blazeproject View 1 1 chunk +7 lines, -0 lines 0 comments Download
A tests/zzz View 1 1 chunk +3487 lines, -0 lines 2 comments Download

Messages

Total messages: 15 (5 generated)
jcollins
3 years, 4 months ago (2017-08-09 15:27:18 UTC) #3
bkonyi
LGTM after Expect.throws(...) comments are addressed. If a line with Expect.throws(...) now causes errors at ...
3 years, 4 months ago (2017-08-09 16:23:03 UTC) #4
jcollins
https://codereview.chromium.org/2999733002/diff/1/tests/language_2/checked_setter2_test.dart File tests/language_2/checked_setter2_test.dart (right): https://codereview.chromium.org/2999733002/diff/1/tests/language_2/checked_setter2_test.dart#newcode21 tests/language_2/checked_setter2_test.dart:21: Expect.throws(() => array[0].c = /*@compile-error=unspecified*/new C<bool>(), (e) => e ...
3 years, 4 months ago (2017-08-15 14:55:15 UTC) #5
jcollins
On 2017/08/15 14:55:15, jcollins wrote: > https://codereview.chromium.org/2999733002/diff/1/tests/language_2/checked_setter2_test.dart > File tests/language_2/checked_setter2_test.dart (right): > > https://codereview.chromium.org/2999733002/diff/1/tests/language_2/checked_setter2_test.dart#newcode21 > ...
3 years, 4 months ago (2017-08-16 16:00:39 UTC) #6
jcollins
3 years, 4 months ago (2017-08-16 16:17:07 UTC) #8
bkonyi
LGTM after Expect.throws(...) in class_literal_test are removed. https://codereview.chromium.org/2999733002/diff/40001/tests/language_2/class_literal_test.dart File tests/language_2/class_literal_test.dart (right): https://codereview.chromium.org/2999733002/diff/40001/tests/language_2/class_literal_test.dart#newcode26 tests/language_2/class_literal_test.dart:26: Expect.throws(() { ...
3 years, 4 months ago (2017-08-16 17:14:40 UTC) #9
jcollins
Committed patchset #5 (id:80001) manually as 52ba74db8fddc85b3d823baae08f9d800df29015.
3 years, 4 months ago (2017-08-16 18:23:21 UTC) #11
jcollins
On 2017/08/16 18:23:21, jcollins wrote: > Committed patchset #5 (id:80001) manually as > 52ba74db8fddc85b3d823baae08f9d800df29015. As ...
3 years, 4 months ago (2017-08-16 18:26:54 UTC) #12
sra1
https://codereview.chromium.org/2999733002/diff/80001/tests/zzz File tests/zzz (right): https://codereview.chromium.org/2999733002/diff/80001/tests/zzz#newcode1 tests/zzz:1: 192 ./corelib[_strong]/apply2_test.dart What is this file?
3 years, 4 months ago (2017-08-16 22:59:36 UTC) #14
bkonyi
3 years, 4 months ago (2017-08-17 00:38:05 UTC) #15
Message was sent while issue was closed.
https://codereview.chromium.org/2999733002/diff/80001/tests/zzz
File tests/zzz (right):

https://codereview.chromium.org/2999733002/diff/80001/tests/zzz#newcode1
tests/zzz:1: 192 ./corelib[_strong]/apply2_test.dart
On 2017/08/16 22:59:36, sra1 wrote:
> What is this file?

I think this is some output generated by the script that created the migration
blocks. It should probably be removed.

Powered by Google App Engine
This is Rietveld 408576698