| Index: test/codegen/expect/language/type_variable_conflict2_test_none_multi.js
|
| diff --git a/test/codegen/expect/language/type_variable_conflict2_test_none_multi.js b/test/codegen/expect/language/type_variable_conflict2_test_none_multi.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..b360c75a1503e02c1d16634adf13cd4342939c85
|
| --- /dev/null
|
| +++ b/test/codegen/expect/language/type_variable_conflict2_test_none_multi.js
|
| @@ -0,0 +1,38 @@
|
| +dart_library.library('language/type_variable_conflict2_test_none_multi', null, /* Imports */[
|
| + 'dart_sdk',
|
| + 'expect'
|
| +], function load__type_variable_conflict2_test_none_multi(exports, dart_sdk, expect) {
|
| + 'use strict';
|
| + const core = dart_sdk.core;
|
| + const dart = dart_sdk.dart;
|
| + const dartx = dart_sdk.dartx;
|
| + const expect$ = expect.expect;
|
| + const type_variable_conflict2_test_none_multi = Object.create(null);
|
| + let C = () => (C = dart.constFn(type_variable_conflict2_test_none_multi.C$()))();
|
| + let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [])))();
|
| + let const$;
|
| + type_variable_conflict2_test_none_multi.C$ = dart.generic(T => {
|
| + const C = dart.callableClass(function C(...args) {
|
| + const self = this;
|
| + function call(...args) {
|
| + return self.call.apply(self, args);
|
| + }
|
| + call.__proto__ = this.__proto__;
|
| + call.new.apply(call, args);
|
| + return call;
|
| + }, class C extends core.Object {
|
| + noSuchMethod(im) {
|
| + expect$.Expect.equals(const$ || (const$ = dart.const(core.Symbol.new('T'))), im.memberName);
|
| + return 42;
|
| + }
|
| + });
|
| + dart.addTypeTests(C);
|
| + return C;
|
| + });
|
| + type_variable_conflict2_test_none_multi.C = C();
|
| + type_variable_conflict2_test_none_multi.main = function() {
|
| + };
|
| + dart.fn(type_variable_conflict2_test_none_multi.main, VoidTodynamic());
|
| + // Exports:
|
| + exports.type_variable_conflict2_test_none_multi = type_variable_conflict2_test_none_multi;
|
| +});
|
|
|