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

Side by Side Diff: pkg/dev_compiler/test/browser/language_tests.js

Issue 2954523002: fix #27259, implement covariance checking for strong mode and DDC (Closed)
Patch Set: merged and fix an analysis error Created 3 years, 5 months 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
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 4
5 define(['dart_sdk', 'async_helper', 'expect', 'unittest', 'is', 'require'], 5 define(['dart_sdk', 'async_helper', 'expect', 'unittest', 'is', 'require'],
6 function(dart_sdk, async_helper, expect, unittest, is, require) { 6 function(dart_sdk, async_helper, expect, unittest, is, require) {
7 'use strict'; 7 'use strict';
8 8
9 async_helper = async_helper.async_helper; 9 async_helper = async_helper.async_helper;
10 let minitest = expect.minitest; 10 let minitest = expect.minitest;
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 'compile_time_constant10_test_none_multi': fail, 96 'compile_time_constant10_test_none_multi': fail,
97 'compile_time_constant_a_test': fail, 97 'compile_time_constant_a_test': fail,
98 'compile_time_constant_b_test': fail, 98 'compile_time_constant_b_test': fail,
99 'compile_time_constant_d_test': fail, 99 'compile_time_constant_d_test': fail,
100 'compile_time_constant_k_test_none_multi': fail, 100 'compile_time_constant_k_test_none_multi': fail,
101 'compile_time_constant_o_test_none_multi': fail, 101 'compile_time_constant_o_test_none_multi': fail,
102 'const_evaluation_test_01_multi': fail, 102 'const_evaluation_test_01_multi': fail,
103 'const_switch_test_02_multi': fail, 103 'const_switch_test_02_multi': fail,
104 'const_switch_test_04_multi': fail, 104 'const_switch_test_04_multi': fail,
105 'constructor12_test': fail, 105 'constructor12_test': fail,
106 'covariant_subtyping_tearoff2_test': fail,
107 'covariant_subtyping_tearoff3_test': fail,
108 'covariant_subtyping_unsafe_call2_test': fail,
109 'covariant_subtyping_unsafe_call3_test': fail,
110 'custom_await_stack_trace_test': fail, 106 'custom_await_stack_trace_test': fail,
111 'cyclic_type2_test': fail, 107 'cyclic_type2_test': fail,
112 'cyclic_type_test_00_multi': fail, 108 'cyclic_type_test_00_multi': fail,
113 'cyclic_type_test_01_multi': fail, 109 'cyclic_type_test_01_multi': fail,
114 'cyclic_type_test_02_multi': fail, 110 'cyclic_type_test_02_multi': fail,
115 'cyclic_type_test_03_multi': fail, 111 'cyclic_type_test_03_multi': fail,
116 'cyclic_type_test_04_multi': fail, 112 'cyclic_type_test_04_multi': fail,
117 113
118 // Deferred libraries are not actually deferred. These tests all test 114 // Deferred libraries are not actually deferred. These tests all test
119 // that synchronous access to the library fails. 115 // that synchronous access to the library fails.
(...skipping 788 matching lines...) Expand 10 before | Expand all | Expand 10 after
908 904
909 for (let action of unittest_tests) { 905 for (let action of unittest_tests) {
910 try { 906 try {
911 action(); 907 action();
912 } catch (e) { 908 } catch (e) {
913 console.error("Caught error tying to setup test:", e); 909 console.error("Caught error tying to setup test:", e);
914 } 910 }
915 } 911 }
916 }); 912 });
917 }); 913 });
OLDNEW
« no previous file with comments | « pkg/dev_compiler/lib/src/compiler/type_utilities.dart ('k') | pkg/dev_compiler/test/codegen_expected/closure.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698