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

Unified Diff: frog/gen.dart

Issue 8485002: more negative test fixes (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years, 1 month 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/frogsh ('k') | frog/member.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/gen.dart
diff --git a/frog/gen.dart b/frog/gen.dart
index a88a0cc5a8d4160fdf461f8377f7921ed2e63554..c96b9dafe947b4d169b490b9aab46877dd01ef28 100644
--- a/frog/gen.dart
+++ b/frog/gen.dart
@@ -115,8 +115,7 @@ class WorldGenerator {
}
genMethod(Member meth, [MethodGenerator enclosingMethod=null]) {
- if (!meth.isGenerated && meth.declaringType.isClass
- && meth.definition != null && !meth.isAbstract) {
+ if (!meth.isGenerated && !meth.isAbstract && meth.definition != null) {
new MethodGenerator(meth, enclosingMethod).run();
}
}
« no previous file with comments | « frog/frogsh ('k') | frog/member.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698