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

Unified Diff: test/codegen/expect/language/mixin_type_variable_test_06_multi.js

Issue 2128353002: Check in codegen test expectations. (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
Index: test/codegen/expect/language/mixin_type_variable_test_06_multi.js
diff --git a/test/codegen/expect/language/mixin_type_variable_test_06_multi.js b/test/codegen/expect/language/mixin_type_variable_test_06_multi.js
new file mode 100644
index 0000000000000000000000000000000000000000..08ba17f2546307dc1d8781b21b0e0d62bc9a2065
--- /dev/null
+++ b/test/codegen/expect/language/mixin_type_variable_test_06_multi.js
@@ -0,0 +1,35 @@
+dart_library.library('language/mixin_type_variable_test_06_multi', null, /* Imports */[
+ 'dart_sdk'
+], function load__mixin_type_variable_test_06_multi(exports, dart_sdk) {
+ 'use strict';
+ const core = dart_sdk.core;
+ const dart = dart_sdk.dart;
+ const dartx = dart_sdk.dartx;
+ const mixin_type_variable_test_06_multi = Object.create(null);
+ let A = () => (A = dart.constFn(mixin_type_variable_test_06_multi.A$()))();
+ let B = () => (B = dart.constFn(mixin_type_variable_test_06_multi.B$()))();
+ let VoidTovoid = () => (VoidTovoid = dart.constFn(dart.definiteFunctionType(dart.void, [])))();
+ mixin_type_variable_test_06_multi.A$ = dart.generic(T => {
+ class A extends core.Object {
+ new() {
+ this.field = null;
+ }
+ }
+ dart.addTypeTests(A);
+ return A;
+ });
+ mixin_type_variable_test_06_multi.A = A();
+ mixin_type_variable_test_06_multi.B$ = dart.generic(T => {
+ class B extends dart.mixin(core.Object, mixin_type_variable_test_06_multi.A$(T)) {}
+ return B;
+ });
+ mixin_type_variable_test_06_multi.B = B();
+ mixin_type_variable_test_06_multi.E = class E extends dart.mixin(core.Object, mixin_type_variable_test_06_multi.A$(core.int)) {};
+ mixin_type_variable_test_06_multi.F = class F extends mixin_type_variable_test_06_multi.E {};
+ mixin_type_variable_test_06_multi.main = function() {
+ new mixin_type_variable_test_06_multi.F();
+ };
+ dart.fn(mixin_type_variable_test_06_multi.main, VoidTovoid());
+ // Exports:
+ exports.mixin_type_variable_test_06_multi = mixin_type_variable_test_06_multi;
+});

Powered by Google App Engine
This is Rietveld 408576698