Reference is out of search scope


I'm trying to make scopes work with my method calls.

I have a root Class concept that returns the methods from itself and from the classes it inherits from in its scope. Then I have implemented the following behavior in my method calls getScope:

The method call has the structure: expr.methodCalled(), so I will limit what methodCalled to show based on what expr I'm putting in. So if the expr is not null it will return its scope based on its type, which is a Class.

I created a Class called Hidden and try to access its function imhidden.

The class I'm putting the method call in does not have access to this class' methods.

Then I get the following in the completion menu

But when I select it, I get the following error:




Please sign in to leave a comment.