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

Side by Side Diff: pkg/front_end/testcases/closure.dart

Issue 3006963002: Add missing copyright on test cases. (Closed)
Patch Set: Created 3 years, 3 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 | « pkg/front_end/testcases/call.dart ('k') | pkg/front_end/testcases/compile.status » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file.
4
1 class Foo { 5 class Foo {
2 var _field = new Bar(); 6 var _field = new Bar();
3 } 7 }
4 8
5 class Bar {} 9 class Bar {}
6 10
7 useCallback(callback) { 11 useCallback(callback) {
8 var _ = callback(); 12 var _ = callback();
9 } 13 }
10 14
11 main() { 15 main() {
12 var x; 16 var x;
13 inner() { 17 inner() {
14 x = new Foo(); 18 x = new Foo();
15 return new Foo(); 19 return new Foo();
16 } 20 }
17 21
18 useCallback(inner); 22 useCallback(inner);
19 var _ = inner()._field; 23 var _ = inner()._field;
20 } 24 }
OLDNEW
« no previous file with comments | « pkg/front_end/testcases/call.dart ('k') | pkg/front_end/testcases/compile.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698