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

Unified Diff: compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTest.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/type/TypeAnalyzerTest.java
diff --git a/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTest.java b/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTest.java
index 142897559af6aba305d350f5ba7686529e6d3370..4986f8660dda6732a01272a9464776a4368a4ff1 100644
--- a/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTest.java
+++ b/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTest.java
@@ -324,7 +324,7 @@ public class TypeAnalyzerTest extends TypeAnalyzerTestCase {
public void testFactory() {
analyzeClasses(loadSource(
- "interface Foo factory Bar {",
+ "interface Foo default Bar {",
" Foo(String argument);",
"}",
"interface Baz {}",
@@ -814,7 +814,7 @@ public class TypeAnalyzerTest extends TypeAnalyzerTestCase {
" Foo.foo() {}",
" Foo.bar([int i = null]) {}",
"}",
- "interface Bar<T> factory Baz<T> {",
+ "interface Bar<T> default Baz<T> {",
" Bar.make();",
"}",
"class Baz<T> {",
@@ -839,7 +839,7 @@ public class TypeAnalyzerTest extends TypeAnalyzerTestCase {
public void testAssignableTypeArg() {
analyzeClasses(loadSource(
- "interface Bar<T> factory Baz<T> {",
+ "interface Bar<T> default Baz<T> {",
" Bar.make();",
"}",
"class Baz<T> {",

Powered by Google App Engine
This is Rietveld 408576698