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

Unified Diff: dart/frog/method_data.dart

Issue 9325029: Fix for issue 1480: analyze a method even if it does not have a body, and do not try to evaluate ... (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 8 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
Index: dart/frog/method_data.dart
===================================================================
--- dart/frog/method_data.dart (revision 3892)
+++ dart/frog/method_data.dart (working copy)
@@ -47,8 +47,6 @@
}
void analyze() {
- // TODO(jimhug): Is there really no analysis to do for a missing body?
- if (body === null) return;
var ma = new MethodAnalyzer(baseMethod, body);
ma.analyze(context);
// TODO(jimhug): Add support for specializing on type parameters.

Powered by Google App Engine
This is Rietveld 408576698