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

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

Issue 1182653002: Refactor runtime into libraries, better type reps (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Address comments 2 Created 5 years, 6 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/DeltaBlue.js ('k') | test/codegen/expect/constructors.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('cascade', null, /* Imports */[ 1 dart_library.library('cascade', null, /* Imports */[
2 "dart_runtime/dart",
2 'dart/core' 3 'dart/core'
3 ], /* Lazy imports */[ 4 ], /* Lazy imports */[
4 ], function(exports, core) { 5 ], function(exports, dart, core) {
5 'use strict'; 6 'use strict';
7 let dartx = dart.dartx;
6 class A extends core.Object { 8 class A extends core.Object {
7 A() { 9 A() {
8 this.x = null; 10 this.x = null;
9 } 11 }
10 } 12 }
11 function test_closure_with_mutate() { 13 function test_closure_with_mutate() {
12 let a = new A(); 14 let a = new A();
13 a.x = dart.fn(() => { 15 a.x = dart.fn(() => {
14 core.print("hi"); 16 core.print("hi");
15 a = null; 17 a = null;
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 exports.test_mutate_inside_cascade = test_mutate_inside_cascade; 116 exports.test_mutate_inside_cascade = test_mutate_inside_cascade;
115 exports.test_mutate_outside_cascade = test_mutate_outside_cascade; 117 exports.test_mutate_outside_cascade = test_mutate_outside_cascade;
116 exports.test_VariableDeclaration_single = test_VariableDeclaration_single; 118 exports.test_VariableDeclaration_single = test_VariableDeclaration_single;
117 exports.test_VariableDeclaration_last = test_VariableDeclaration_last; 119 exports.test_VariableDeclaration_last = test_VariableDeclaration_last;
118 exports.test_VariableDeclaration_first = test_VariableDeclaration_first; 120 exports.test_VariableDeclaration_first = test_VariableDeclaration_first;
119 exports.test_increment = test_increment; 121 exports.test_increment = test_increment;
120 exports.Base$ = Base$; 122 exports.Base$ = Base$;
121 exports.Base = Base; 123 exports.Base = Base;
122 exports.Foo = Foo; 124 exports.Foo = Foo;
123 }); 125 });
OLDNEW
« no previous file with comments | « test/codegen/expect/DeltaBlue.js ('k') | test/codegen/expect/constructors.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698