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

Unified Diff: pkg/analyzer/test/generated/element_test.dart

Issue 134533007: New analyzer snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 11 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
« no previous file with comments | « pkg/analyzer/test/generated/ast_test.dart ('k') | pkg/analyzer/test/generated/parser_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/generated/element_test.dart
diff --git a/pkg/analyzer/test/generated/element_test.dart b/pkg/analyzer/test/generated/element_test.dart
index d00c0540e15abd66232a5c702d27d4a27a5f6f9b..324f48b4e7bc44402ebbc553ef4994ab09f68cbd 100644
--- a/pkg/analyzer/test/generated/element_test.dart
+++ b/pkg/analyzer/test/generated/element_test.dart
@@ -2271,7 +2271,7 @@ class ElementFactory {
static ClassElementImpl get object {
if (_objectElement == null) {
- _objectElement = classElement("Object", null as InterfaceType, []);
+ _objectElement = classElement("Object", null, []);
}
return _objectElement;
}
@@ -2973,7 +2973,7 @@ class FunctionTypeImplTest extends EngineTestCase {
}
void test_hashCode_noElement() {
- FunctionTypeImpl type = new FunctionTypeImpl.con1(null as ExecutableElement);
+ FunctionTypeImpl type = new FunctionTypeImpl.con1(null);
type.hashCode;
}
@@ -2989,7 +2989,7 @@ class FunctionTypeImplTest extends EngineTestCase {
void test_isSubtypeOf_baseCase_classFunction() {
ClassElementImpl functionElement = ElementFactory.classElement2("Function", []);
- InterfaceTypeImpl functionType = new InterfaceTypeImpl_29(functionElement);
+ InterfaceTypeImpl functionType = new InterfaceTypeImpl_31(functionElement);
FunctionType f = ElementFactory.functionElement("f").type;
JUnitTestCase.assertTrue(f.isSubtypeOf(functionType));
}
@@ -3488,8 +3488,8 @@ class FunctionTypeImplTest extends EngineTestCase {
}
}
-class InterfaceTypeImpl_29 extends InterfaceTypeImpl {
- InterfaceTypeImpl_29(ClassElement arg0) : super.con1(arg0);
+class InterfaceTypeImpl_31 extends InterfaceTypeImpl {
+ InterfaceTypeImpl_31(ClassElement arg0) : super.con1(arg0);
bool get isDartCoreFunction => true;
}
« no previous file with comments | « pkg/analyzer/test/generated/ast_test.dart ('k') | pkg/analyzer/test/generated/parser_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698