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

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

Issue 1752193002: Add a few more known non-null cases (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 9 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/language-all.js ('k') | test/codegen/expect/notnull.js » ('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', 2 'dart/_runtime',
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 const _c = Symbol('_c'); 8 const _c = Symbol('_c');
9 class A extends core.Object { 9 class A extends core.Object {
10 A() { 10 A() {
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 this.bar = new Bar(); 76 this.bar = new Bar();
77 } 77 }
78 } 78 }
79 function test() { 79 function test() {
80 let f = new Foo(); 80 let f = new Foo();
81 dart.dcall(f.bar, "Bar's call method!"); 81 dart.dcall(f.bar, "Bar's call method!");
82 let a = new A(); 82 let a = new A();
83 let g = dart.bind(a, 'x'); 83 let g = dart.bind(a, 'x');
84 let aa = new A(); 84 let aa = new A();
85 let h = dart.dload(aa, 'x'); 85 let h = dart.dload(aa, 'x');
86 let ts = dart.fn(dart.toString.bind(a), core.String, []); 86 let ts = dart.bind(a, 'toString');
87 let nsm = dart.fn(dart.noSuchMethod.bind(a), dart.dynamic, [core.Invocation] ); 87 let nsm = dart.bind(a, 'noSuchMethod');
88 let c = dart.bind("", dartx.padLeft); 88 let c = dart.bind("", dartx.padLeft);
89 let r = dart.bind(3.0, dartx.floor); 89 let r = dart.bind(3.0, dartx.floor);
90 } 90 }
91 dart.fn(test); 91 dart.fn(test);
92 // Exports: 92 // Exports:
93 exports.A = A; 93 exports.A = A;
94 exports.Bar = Bar; 94 exports.Bar = Bar;
95 exports.Foo = Foo; 95 exports.Foo = Foo;
96 exports.test = test; 96 exports.test = test;
97 }); 97 });
OLDNEW
« no previous file with comments | « test/codegen/expect/language-all.js ('k') | test/codegen/expect/notnull.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698