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

Side by Side Diff: test/baseline_spec_mode_test.dart

Issue 2465893002: Add strong mode type checking pass. (Closed)
Patch Set: Merge with master and remove visitBlockExpression Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « lib/type_environment.dart ('k') | test/baseline_strong_mode_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 import 'package:kernel/kernel.dart'; 4 import 'package:kernel/kernel.dart';
5 import 'package:kernel/transformations/mixin_full_resolution.dart'; 5 import 'package:kernel/transformations/mixin_full_resolution.dart';
6 6
7 import 'baseline_tester.dart'; 7 import 'baseline_tester.dart';
8 8
9 class SpecModeTest extends TestTarget { 9 class SpecModeTest extends TestTarget {
10 @override 10 @override
11 List<String> get extraRequiredLibraries => []; 11 List<String> get extraRequiredLibraries => [];
12 12
13 @override 13 @override
14 String get name => 'spec-mode-test'; 14 String get name => 'spec-mode-test';
15 15
16 @override 16 @override
17 bool get strongMode => false; 17 bool get strongMode => false;
18 18
19 @override 19 @override
20 void transformProgram(Program program) { 20 List<String> transformProgram(Program program) {
21 new MixinFullResolution().transform(program); 21 new MixinFullResolution().transform(program);
22 return const <String>[];
22 } 23 }
23 } 24 }
24 25
25 void main() { 26 void main() {
26 runBaselineTests('spec-mode', new SpecModeTest()); 27 runBaselineTests('spec-mode', new SpecModeTest());
27 } 28 }
OLDNEW
« no previous file with comments | « lib/type_environment.dart ('k') | test/baseline_strong_mode_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698