From: Craig Chambers (chambers@cs.washington.edu)
Date: Mon Oct 07 2002 - 18:48:15 PDT
W.r.t. an earlier comment about methods in nested scopes: It is already checked
that the gf is in the same scope. It actually enforces that the corresponding
function is in the same scope, too, which might be unnecessarily restrictive.
Compilation works fine. Also, I discovered that it is possible to invoke a
nested gf that has a single, default method; it gets compiled to a direct
function call, which works. This special case is sufficient for Cecil's
closures (although not Diesel's), ignoring lexical scoping issues.
-- Craig
_______________________________________________
Cecil mailing list
Cecil@cs.washington.edu
http://majordomo.cs.washington.edu/mailman/listinfo/cecil
This archive was generated by hypermail 2.1.5 : Mon Oct 07 2002 - 18:48:19 PDT