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

Unified Diff: compiler/javatests/com/google/dart/compiler/resolver/ResolverTest.java

Issue 9016026: Moves over remaining .dart code references to 'factory' in interface declartions to 'default' (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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/ResolverTest.java
diff --git a/compiler/javatests/com/google/dart/compiler/resolver/ResolverTest.java b/compiler/javatests/com/google/dart/compiler/resolver/ResolverTest.java
index 90d1db310d940ef25f1b08a911e3f32e6fb73717..4b17ff094c75ae2c3a4259d40bd00bda1f90ca74 100644
--- a/compiler/javatests/com/google/dart/compiler/resolver/ResolverTest.java
+++ b/compiler/javatests/com/google/dart/compiler/resolver/ResolverTest.java
@@ -230,12 +230,12 @@ public class ResolverTest extends ResolverTestCase {
* We should check for signature mismatch but that is a TypeAnalyzer issue.
*/
}
-
+
public void testImplicitDefaultConstructor_ThroughFactories() {
// Check that we generate implicit constructors through factories also.
resolveAndTest(Joiner.on("\n").join(
"class Object {}",
- "interface B factory C {}",
+ "interface B default C {}",
"class C {}",
"class D { main() { new B(); } }"));
}

Powered by Google App Engine
This is Rietveld 408576698