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

Unified Diff: test/codegen/expect/language/override_inheritance_generic_test_05_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/override_inheritance_generic_test_05_multi.js
diff --git a/test/codegen/expect/language/override_inheritance_generic_test_05_multi.js b/test/codegen/expect/language/override_inheritance_generic_test_05_multi.js
new file mode 100644
index 0000000000000000000000000000000000000000..11f8538ac73c188d6c9c4e44e10ed4015f181e88
--- /dev/null
+++ b/test/codegen/expect/language/override_inheritance_generic_test_05_multi.js
@@ -0,0 +1,68 @@
+dart_library.library('language/override_inheritance_generic_test_05_multi', null, /* Imports */[
+ 'dart_sdk'
+], function load__override_inheritance_generic_test_05_multi(exports, dart_sdk) {
+ 'use strict';
+ const core = dart_sdk.core;
+ const dart = dart_sdk.dart;
+ const dartx = dart_sdk.dartx;
+ const override_inheritance_generic_test_05_multi = Object.create(null);
+ let A = () => (A = dart.constFn(override_inheritance_generic_test_05_multi.A$()))();
+ let B = () => (B = dart.constFn(override_inheritance_generic_test_05_multi.B$()))();
+ let I = () => (I = dart.constFn(override_inheritance_generic_test_05_multi.I$()))();
+ let J = () => (J = dart.constFn(override_inheritance_generic_test_05_multi.J$()))();
+ let Class = () => (Class = dart.constFn(override_inheritance_generic_test_05_multi.Class$()))();
+ let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [])))();
+ override_inheritance_generic_test_05_multi.A$ = dart.generic(T => {
+ class A extends core.Object {
+ method5(t) {
+ T._check(t);
+ return null;
+ }
+ }
+ dart.addTypeTests(A);
+ dart.setSignature(A, {
+ methods: () => ({method5: dart.definiteFunctionType(dart.dynamic, [T])})
+ });
+ return A;
+ });
+ override_inheritance_generic_test_05_multi.A = A();
+ override_inheritance_generic_test_05_multi.B$ = dart.generic(S => {
+ class B extends override_inheritance_generic_test_05_multi.A$(S) {}
+ return B;
+ });
+ override_inheritance_generic_test_05_multi.B = B();
+ override_inheritance_generic_test_05_multi.I$ = dart.generic(U => {
+ class I extends core.Object {}
+ dart.addTypeTests(I);
+ return I;
+ });
+ override_inheritance_generic_test_05_multi.I = I();
+ override_inheritance_generic_test_05_multi.J$ = dart.generic(V => {
+ class J extends core.Object {}
+ dart.addTypeTests(J);
+ return J;
+ });
+ override_inheritance_generic_test_05_multi.J = J();
+ override_inheritance_generic_test_05_multi.Class$ = dart.generic(W => {
+ class Class extends override_inheritance_generic_test_05_multi.B$(W) {
+ method5(w) {
+ W._check(w);
+ return null;
+ }
+ }
+ Class[dart.implements] = () => [override_inheritance_generic_test_05_multi.I, override_inheritance_generic_test_05_multi.J];
+ dart.setSignature(Class, {
+ methods: () => ({method5: dart.definiteFunctionType(dart.dynamic, [W])})
+ });
+ return Class;
+ });
+ override_inheritance_generic_test_05_multi.Class = Class();
+ override_inheritance_generic_test_05_multi.SubClass = class SubClass extends override_inheritance_generic_test_05_multi.Class {};
+ dart.addSimpleTypeTests(override_inheritance_generic_test_05_multi.SubClass);
+ override_inheritance_generic_test_05_multi.main = function() {
+ new override_inheritance_generic_test_05_multi.SubClass();
+ };
+ dart.fn(override_inheritance_generic_test_05_multi.main, VoidTodynamic());
+ // Exports:
+ exports.override_inheritance_generic_test_05_multi = override_inheritance_generic_test_05_multi;
+});

Powered by Google App Engine
This is Rietveld 408576698