Changes

Summary

  1. Historically, sending #binding to a Class gives you the association in the systemDictionary. (details)
Commit 65efcbc8b64d145c179d0131ed345112c30ed3e4 by marcus.denker
Historically, sending #binding to a Class gives you the association in the systemDictionary.

We have now changed this so that those objects are the Variables representing the concept of accessing the global variable.

That is,

OrderedCollection variable

now returns the *Variable* that references OrderedCollection.

To be in sync everywhere, we should use the selector #variable to get Variables. We did that already on the AST node level, this PR does the same change on the level of Behaviors.

-> the implemetation is now #variable
-> binding is retained as a compatibility method.

A later PR then can change all users of binding to use #variable instead
The file was modifiedsrc/ClassParser/CDClassNameNode.class.st (diff)
The file was modifiedsrc/Kernel/Behavior.class.st (diff)
The file was modifiedsrc/Reflectivity/RFLiteralVariableNode.class.st (diff)
The file was modifiedsrc/Kernel/Class.class.st (diff)
The file was modifiedsrc/Kernel/Metaclass.class.st (diff)
The file was modifiedsrc/ClassParser/CDSlotNode.class.st (diff)
The file was modifiedsrc/ClassParser/CDClassDefinitionNode.class.st (diff)
The file was modifiedsrc/Ring-RuntimeSupport/RGBehavior.extension.st (diff)