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

Unified Diff: compiler/java/com/google/dart/compiler/resolver/Resolver.java

Issue 10693074: Another small batch of Junit test for errors in the resolver (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 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: compiler/java/com/google/dart/compiler/resolver/Resolver.java
diff --git a/compiler/java/com/google/dart/compiler/resolver/Resolver.java b/compiler/java/com/google/dart/compiler/resolver/Resolver.java
index 8950795b96e5a161532bd597f170a641bf42b9c0..3e220033f837f32920ff7d55b7bf82793a6b3ba7 100644
--- a/compiler/java/com/google/dart/compiler/resolver/Resolver.java
+++ b/compiler/java/com/google/dart/compiler/resolver/Resolver.java
@@ -1087,7 +1087,6 @@ public class Resolver {
if (!isQualifier) {
switch (ElementKind.of(element)) {
- case CLASS:
zundel 2012/07/02 21:19:24 turns out to be redundant with another error messa
case FUNCTION_TYPE_ALIAS:
onError(x, ResolverErrorCode.CANNOT_USE_TYPE, name);
break;

Powered by Google App Engine
This is Rietveld 408576698