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

Side by Side Diff: tests/standalone/black_listed_test.dart

Issue 11365196: Move JSSyntaxRegExp to core as a private member. This removes the last refrences to dart:coreimpl. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix two pending TODO's. Created 8 years, 1 month 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 // Dart test checking that static/instance field shadowing do not conflict. 4 // Dart test checking that static/instance field shadowing do not conflict.
5 5
6 // Test that certain interfaces/classes are blacklisted from being 6 // Test that certain interfaces/classes are blacklisted from being
7 // implemented or extended (VM corelib only). 7 // implemented or extended (VM corelib only).
8 8
9 #library("BlackListedTest.dart"); 9 #library("BlackListedTest.dart");
10 #import("dart:coreimpl");
11 10
12 class MyBool extends Bool {} /// 01: compile-time error 11 class MyBool extends Bool {} /// 01: compile-time error
13 12
14 class MyDouble extends Double {} /// 02: compile-time error 13 class MyDouble extends Double {} /// 02: compile-time error
15 14
16 class MyObjectArray extends ObjectArray {} /// 03: compile-time error 15 class MyObjectArray extends ObjectArray {} /// 03: compile-time error
17 16
18 class MyImmutableArray extends ImmutableArray {} /// 04: compile-time error 17 class MyImmutableArray extends ImmutableArray {} /// 04: compile-time error
19 18
20 class MyGrowableObjectArray extends GrowableObjectArray {} /// 05: compile-time error 19 class MyGrowableObjectArray extends GrowableObjectArray {} /// 05: compile-time error
(...skipping 30 matching lines...) Expand all
51 new MyMint(); /// 08: continued 50 new MyMint(); /// 08: continued
52 51
53 new MyBigint(); /// 09: continued 52 new MyBigint(); /// 09: continued
54 53
55 new MyOneByteString(); /// 10: continued 54 new MyOneByteString(); /// 10: continued
56 55
57 new MyTwoByteString(); /// 11: continued 56 new MyTwoByteString(); /// 11: continued
58 57
59 new MyFourByteString(); /// 12: continued 58 new MyFourByteString(); /// 12: continued
60 } 59 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698