I am looking at the AST of a method like this:

someMethod
^ SomeClass new


It was a surprise to me that the note for 'SomeClass' is an RBVariableNode instead of a RBClassReference. Which is the best way to tell if an RBVariableNode represents a global reference or an instance variable?

On the other hand, there are no references to RBClassReference, so this might be a bug?

Thanks,
Nico