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

Unified Diff: sdk/lib/_internal/compiler/implementation/elements/modelx.dart

Issue 14416008: Reinsert return. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/compiler/implementation/elements/modelx.dart
diff --git a/sdk/lib/_internal/compiler/implementation/elements/modelx.dart b/sdk/lib/_internal/compiler/implementation/elements/modelx.dart
index 02d2320f6b05e668b74f2a74806f246f100d325b..909c4c63f152df2363fa3cbd51e9c024077c96a4 100644
--- a/sdk/lib/_internal/compiler/implementation/elements/modelx.dart
+++ b/sdk/lib/_internal/compiler/implementation/elements/modelx.dart
@@ -1228,7 +1228,8 @@ class FunctionElementX extends ElementX implements FunctionElement {
if (super.isAbstract(compiler)) return true;
if (modifiers.isExternal()) return false;
if (isFunction() || isAccessor()) {
- compiler.withCurrentElement(this, () => !parseNode(compiler).hasBody());
+ return compiler.withCurrentElement(this,
+ () => !parseNode(compiler).hasBody());
}
return false;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698