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

Unified Diff: compiler/javatests/com/google/dart/compiler/resolver/StaticToInstanceInvocationNegativeTest2.dart

Issue 8867001: Check for using 'this' and 'super'. Tests. Issue 662. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix for using this/super in field. Tweaks for comments. Created 9 years 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: compiler/javatests/com/google/dart/compiler/resolver/StaticToInstanceInvocationNegativeTest2.dart
diff --git a/compiler/javatests/com/google/dart/compiler/resolver/StaticToInstanceInvocationNegativeTest2.dart b/compiler/javatests/com/google/dart/compiler/resolver/StaticToInstanceInvocationNegativeTest2.dart
deleted file mode 100644
index 12d4ec2dcedcf7101fd73dafc9c3c7d6e2960039..0000000000000000000000000000000000000000
--- a/compiler/javatests/com/google/dart/compiler/resolver/StaticToInstanceInvocationNegativeTest2.dart
+++ /dev/null
@@ -1,10 +0,0 @@
-// Copyright (c) 2011, 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.
-
-// case 2 - qualified - expect failure.
-
-class A {
- static foo() { this.bar(); }
- bar() { }
-}

Powered by Google App Engine
This is Rietveld 408576698