Skip to content

Commit

Permalink
fix class operator for mixed HLL case:
Browse files Browse the repository at this point in the history
it was giving the Namespace, not the Class
  • Loading branch information
NotFound committed Sep 7, 2011
1 parent 96872ae commit 2db4057
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion winxedst1.winxed
Original file line number Diff line number Diff line change
Expand Up @@ -9914,7 +9914,9 @@ class NamespacePath
if (self.samehllas(fromns))
e.say(INDENT + "get_class ", result, ", ", self.getparrotkey());
else {
// There is no get_root_class. This will work for a now.
// There is no get_root_class. This will work for a now:
// Get the namespace as root global object, and then get
// its associated class.
var hll = self.hll;
var path = clone(self.path);
string name = path.pop();
Expand All @@ -9925,6 +9927,7 @@ class NamespacePath
else
e.say(INDENT + "get_root_global ", result, ", ['", shll,
"'], '", name, "'");
e.say(INDENT + "get_class ", result, ", ", result);
}
}
function emit_get_global(e, fromns, string result, string name)
Expand Down

0 comments on commit 2db4057

Please sign in to comment.