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

Side by Side Diff: test/codegen/expect/methods.js

Issue 1293293002: Attach type info to extension method and object method tear-offs (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Rebase Created 5 years, 4 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
« no previous file with comments | « test/codegen/expect/js_test.txt ('k') | test/codegen/methods.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 dart_library.library('methods', null, /* Imports */[ 1 dart_library.library('methods', null, /* Imports */[
2 "dart_runtime/dart", 2 "dart_runtime/dart",
3 'dart/core' 3 'dart/core'
4 ], /* Lazy imports */[ 4 ], /* Lazy imports */[
5 ], function(exports, dart, core) { 5 ], function(exports, dart, core) {
6 'use strict'; 6 'use strict';
7 let dartx = dart.dartx; 7 let dartx = dart.dartx;
8 let _c = Symbol('_c'); 8 let _c = Symbol('_c');
9 class A extends core.Object { 9 class A extends core.Object {
10 A() { 10 A() {
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 this.bar = new Bar(); 68 this.bar = new Bar();
69 } 69 }
70 } 70 }
71 function test() { 71 function test() {
72 let f = new Foo(); 72 let f = new Foo();
73 dart.dcall(f.bar, "Bar's call method!"); 73 dart.dcall(f.bar, "Bar's call method!");
74 let a = new A(); 74 let a = new A();
75 let g = dart.bind(a, 'x'); 75 let g = dart.bind(a, 'x');
76 let aa = new A(); 76 let aa = new A();
77 let h = dart.dload(aa, 'x'); 77 let h = dart.dload(aa, 'x');
78 let ts = dart.fn(dart.toString.bind(a), core.String, []);
79 let nsm = dart.fn(dart.noSuchMethod.bind(a), dart.dynamic, [core.Invocation] );
80 let c = dart.bind("", dartx.padLeft);
81 let r = dart.bind(3.0, dartx.floor);
78 } 82 }
79 dart.fn(test); 83 dart.fn(test);
80 // Exports: 84 // Exports:
81 exports.A = A; 85 exports.A = A;
82 exports.Bar = Bar; 86 exports.Bar = Bar;
83 exports.Foo = Foo; 87 exports.Foo = Foo;
84 exports.test = test; 88 exports.test = test;
85 }); 89 });
OLDNEW
« no previous file with comments | « test/codegen/expect/js_test.txt ('k') | test/codegen/methods.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698