[Grace-core] Questions

Kim Bruce kim at cs.pomona.edu
Sun Dec 8 12:39:32 PST 2013


in the current ECOOP draft (pg 4) it says confidential entities can only be referenced by self or subclass.  But can't they be accessed by an object nested inside?

object {
     def x = 5
     def y = {object z = x + 1}
}

(Here the defs are confidential by default.)  Shouldn't it say they are accessible via self or outer (explicitly or implicitly).

Kim






More information about the Grace-core mailing list