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

Unified Diff: dart/compiler/javatests/com/google/dart/compiler/parser/ClassesInterfaces.dart

Issue 20722006: Removed compiler/ directory from repository (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: dart/compiler/javatests/com/google/dart/compiler/parser/ClassesInterfaces.dart
diff --git a/dart/compiler/javatests/com/google/dart/compiler/parser/ClassesInterfaces.dart b/dart/compiler/javatests/com/google/dart/compiler/parser/ClassesInterfaces.dart
deleted file mode 100644
index 7faaeac605caaa2bb2ca60ee4e703ff51c714b30..0000000000000000000000000000000000000000
--- a/dart/compiler/javatests/com/google/dart/compiler/parser/ClassesInterfaces.dart
+++ /dev/null
@@ -1,118 +0,0 @@
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-class Object {
- var x;
- int foo() {
- return 42;
- }
- bar(int x, int y, z) { }
-}
-
-class Baz extends Kuk implements A, B, C {
- static final y = 12, z = 42;
- static final Foo moms = 42, kuks = 42;
- final Kuk hest;
- static var foo;
-
- const Baz();
- const Baz.named() : this.foo = 1;
- factory prefix.A.foo() {
- }
-
- /* Try a few
- * syntactic constructs. */
- void baz() {
- if (42) if (42) 42; else throw 42;
- switch (42) { case 42: return 42; default: break;}
- switch (42) {
- L1: case 42:
- L2: for(;;) {}
- return 42;
- default:
- break;
- }
- switch (42) {
- case 42:
- L2: for(;;) {}
- return 42;
- L3: case 43:
- case 44:
- case 45:
- default:
- break;
- }
- switch (42) {
- case 42:
- L2: for(;;) {}
- return 42;
- L3: case 43:
- break;
- L4: case 44:
- continue L3;
- case 45:
- break;
- }
- try { } catch (e) { }
- L0: while (false) try { } catch (e) { } finally { break L0; }
- int kongy(x,y) { return 42; } // This is a comment.
-
- 42 is Baz;
- 42 is Bar<Foo, Foo>;
- 42 is !Baz;
- 42 is !Bar<Foo, Foo>;
- }
-
- int bar(args) {
- kongy(args);
- kongy(1, args);
- }
-
- int hest(a) {
- for (var i = 0; i < a.length; i++) {
- a.b.c.f().g[i] += foo(i);
- int kuk = 42;
- (kuk);
- id(x) { return x; }
- int id(x) { return x; }
- Box<int, double> id(x) { return x; }
- var f = () { };
- assert(x == 12);
- id((x) {});
- a < b;
- int x = a < b;
- id(() {});
- }
- }
-
- Baz.superOnly(x, y, z) : super(x, y, z) {}
- Baz.superAndInit(x, y, z) : super(x, y, z), this.y = 2 {}
- Baz.superAndInits(x, y, z) : super(x, y, z), this.y = 2, this.x = 4 {}
-
- // Try all kinds of formal parameters.
- void fisk(final a,
- b,
- var c,
- int d,
- e(),
- void f(),
- Map<int, double> g,
- Map<int, double> h()) {}
-
- Baz(x, y, z) : super(x, y, z) {}
-}
-
-abstract class Foo implements D, E {
- bar();
-}
-
-// Test bounds on type parameters
-abstract class Bar<K extends Foo, V> implements Foo {
-}
-
-abstract class Bar<K extends Foo, V extends Foo> implements Foo {
-}
-
-abstract class Bar<K, V extends Foo> implements Foo {
-}

Powered by Google App Engine
This is Rietveld 408576698