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

Unified Diff: frog/tests/leg/src/ResolverTest.dart

Issue 9027002: Support factory methods. (Closed) Base URL: http://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
« no previous file with comments | « frog/leg/ssa/builder.dart ('k') | frog/tests/leg_only/src/FactoryTest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/tests/leg/src/ResolverTest.dart
===================================================================
--- frog/tests/leg/src/ResolverTest.dart (revision 2754)
+++ frog/tests/leg/src/ResolverTest.dart (working copy)
@@ -398,7 +398,7 @@
NewExpression expression =
compiler.parsedTree.asExpressionStatement().expression;
Element element = elements[expression.send];
- Expect.equals(ElementKind.CONSTRUCTOR, element.kind);
+ Expect.equals(ElementKind.GENERATIVE_CONSTRUCTOR, element.kind);
Expect.isTrue(element is SynthesizedConstructorElement);
}
« no previous file with comments | « frog/leg/ssa/builder.dart ('k') | frog/tests/leg_only/src/FactoryTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698