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

Side by Side Diff: tests/language/library12.dart

Issue 11316283: Eliminate old style import from language tests (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 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. 3 // BSD-style license that can be found in the LICENSE file.
4 // 4 //
5 5
6 #library("library12.dart"); 6 library library12.dart;
7 7
8 #import("library11.dart"); 8 import "library11.dart";
9 class Library12 { 9 class Library12 {
10 Library12(this.fld); 10 Library12(this.fld);
11 Library12.other(fld, multiplier) { 11 Library12.other(fld, multiplier) {
12 this.fld = fld*multiplier; 12 this.fld = fld*multiplier;
13 } 13 }
14 func() { 14 func() {
15 return 2; 15 return 2;
16 } 16 }
17 var fld; 17 var fld;
18 static static_func() { 18 static static_func() {
(...skipping 15 matching lines...) Expand all
34 } 34 }
35 35
36 interface Library12Interface { 36 interface Library12Interface {
37 Library12 addObjects(Library12 value1, Library12 value2); 37 Library12 addObjects(Library12 value1, Library12 value2);
38 } 38 }
39 39
40 const int top_level12 = 10; 40 const int top_level12 = 10;
41 top_level_func12() { 41 top_level_func12() {
42 return 20; 42 return 20;
43 } 43 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698