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

Side by Side Diff: dart/tests/language/library_prefixes_test1.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
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 part of LibraryPrefixesTest1;
5 4
6 class Constants { 5 class Constants {
7 static const PI = 3.14; 6 static const PI = 3.14;
8 static const foo = 1; 7 static const foo = 1;
9 } 8 }
10 9
11 class A { 10 class A {
12 static const y = -1; 11 static const y = -1;
13 int x; 12 int x;
14 A() : x = 1 {} 13 A() : x = 1 {}
(...skipping 24 matching lines...) Expand all
39 38
40 class E { 39 class E {
41 var f; 40 var f;
42 E() {} 41 E() {}
43 E.fun(x) : f = (() { return x + 11; }) {} 42 E.fun(x) : f = (() { return x + 11; }) {}
44 static foo() { return 0; } 43 static foo() { return 0; }
45 static fooo(x) { return () { return x + 99; }; } 44 static fooo(x) { return () { return x + 99; }; }
46 bar() { return 1; } 45 bar() { return 1; }
47 toto(x) { return () { return x + 2; }; } 46 toto(x) { return () { return x + 2; }; }
48 } 47 }
OLDNEW
« no previous file with comments | « dart/tests/language/library_prefixes_test.dart ('k') | dart/tests/language/library_prefixes_test1.lib » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698