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

Unified Diff: frog/minfrog

Issue 9222015: fix break in r3504 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: gen minfrog 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
« no previous file with comments | « no previous file | frog/tests/frog/frog.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/minfrog
diff --git a/frog/minfrog b/frog/minfrog
index 579cb3f23d2edc27b7890f82fd59cc76e107de82..debac367dd455ecefea89d2bb3c84d329144f08d 100755
--- a/frog/minfrog
+++ b/frog/minfrog
@@ -12461,6 +12461,7 @@ PureStaticValue.prototype.getMem = function(context, name, node) {
var member = this.get$type().getMember(name);
if ($eq(member)) {
$globals.world.warning(("can not find \"" + name + "\" on \"" + this.get$type().name + "\""), node.span);
+ return null;
}
if (this.isType && !member.get$isStatic()) {
$globals.world.error("can not refer to instance member as static", node.span);
« no previous file with comments | « no previous file | frog/tests/frog/frog.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698