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

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

Issue 11233061: Revert "Parts must start with 'part of'" and "Attempt to fix VM build" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « dart/tests/language/prefix16_test.dart ('k') | dart/tests/language/prefix18_negative_test.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 // 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 library Prefix17Test; 5 #library("Prefix17Test.dart");
6 import "library12.dart" as lib12; 6 #import("library12.dart", prefix:"lib12");
7 7
8 class LocalClass { 8 class LocalClass {
9 static int static_fld; 9 static int static_fld;
10 } 10 }
11 11
12 void main() { 12 void main() {
13 LocalClass.static_fld = 42; 13 LocalClass.static_fld = 42;
14 var lc1 = new lib12.Library12(5); 14 var lc1 = new lib12.Library12(5);
15 lib12.Library12 lc2 = new lib12.Library12(10); 15 lib12.Library12 lc2 = new lib12.Library12(10);
16 lib12.Library12 lc2m = new lib12.Library12.other(10,2); 16 lib12.Library12 lc2m = new lib12.Library12.other(10,2);
17 lib12.Library12.static_fld = 43; 17 lib12.Library12.static_fld = 43;
18 //print("${LocalClass.static_fld}, ${lc1.fld}, ${lc2.fld}, ${lc2m.fld}, ${lib1 2.Library12.static_fld}"); 18 //print("${LocalClass.static_fld}, ${lc1.fld}, ${lc2.fld}, ${lc2m.fld}, ${lib1 2.Library12.static_fld}");
19 } 19 }
OLDNEW
« no previous file with comments | « dart/tests/language/prefix16_test.dart ('k') | dart/tests/language/prefix18_negative_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698