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

Unified Diff: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/NonErrorResolverTest.java

Issue 247313004: Fix for 14221/ 15553/ 16673- X isSubtypeOf E now returns false when X is some type and E is a type … (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 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: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/NonErrorResolverTest.java
diff --git a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/NonErrorResolverTest.java b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/NonErrorResolverTest.java
index 318a126c458054c05b8bf512bbe29288c236d96f..d547941716130a99601d4a4b304fe5906a5d50c1 100644
--- a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/NonErrorResolverTest.java
+++ b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/NonErrorResolverTest.java
@@ -1396,10 +1396,10 @@ public class NonErrorResolverTest extends ResolverTestCase {
public void test_inconsistentMethodInheritance_accessors_typeParameter2() throws Exception {
Source source = addSource(createSource(//
"abstract class A<E> {",
- " E get x {return 1;}",
+ " E get x {return null;}",
"}",
"class B<E> {",
- " E get x {return 1;}",
+ " E get x {return null;}",
"}",
"class C<E> extends A<E> implements B<E> {}"));
resolve(source);
@@ -1436,7 +1436,7 @@ public class NonErrorResolverTest extends ResolverTestCase {
" E get x;",
"}",
"class C<E> implements A<E>, B<E> {",
- " E get x => 1;",
+ " E get x => null;",
"}"));
resolve(source);
assertNoErrors(source);

Powered by Google App Engine
This is Rietveld 408576698