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

Side by Side Diff: tests/language/src/PseudoKWClassTest.dart

Issue 9147006: fix issue 356 by making test match spec (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: update copyright dates Created 8 years, 11 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 | « tests/language/language.status ('k') | tests/language/src/PseudoKWNegativeTest.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2012, 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 // Check that we cannot use a pseudo keyword at the class level code.
5
gbracha 2012/01/09 21:37:39 I'm sorry, but the spec on this is actually going
6 // Pseudo keywords are allowed to be used as class names.
7 class abstract { }
8 class factory { }
9 class get { }
10 class implements { }
11 class import { }
12 class interface { }
13 class library { }
14 class native { }
15 class negate { }
16 class operator { }
17 class set { }
18 class source { }
19 class static { }
20
21 class PseudoKWClassTest {
22
23 static testMain() {
24 new abstract();
25 new factory();
26 new get();
27 new implements();
28 new import();
29 new interface();
30 new library();
31 new native();
32 new negate();
33 new operator();
34 new set();
35 new source();
36 new static();
37 }
38 }
39
40
41 main() {
42 PseudoKWClassTest.testMain();
43 }
OLDNEW
« no previous file with comments | « tests/language/language.status ('k') | tests/language/src/PseudoKWNegativeTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698