Changes

Summary

  1. Now that we have ReservedVariable and subclasses modeling what self, (details)
Commit 27ee889a6ef9ecdc3056608bf9e5dcc5aebf321a by marcus.denker
Now that we have ReservedVariable and subclasses modeling what self,
super and thisContext are named, we do not need to hardcode any of thas
info in the Name Analyzer.
- this unifies how Reserved Variables are looked up and defined. They
are now all defined in the InstanceScope.
- simplify the code, remove hardcoded 'self' 'super' 'thisContext'
OCAbstractMethodScope has still the unused var, this can not be changed
in the runnning system and will be done directly as a code change on the
repository later.
The file was modifiedsrc/OpalCompiler-Core/OCInstanceScope.class.st (diff)
The file was modifiedsrc/OpalCompiler-Core/OCAbstractMethodScope.class.st (diff)
The file was modifiedsrc/OpalCompiler-Core/OCExtraBindingScope.class.st (diff)
The file was modifiedsrc/OpalCompiler-Core/OCRequestorScope.class.st (diff)

Summary

  1. Now that we have ReservedVariable and subclasses modeling what self, (details)
Commit 27ee889a6ef9ecdc3056608bf9e5dcc5aebf321a by marcus.denker
Now that we have ReservedVariable and subclasses modeling what self,
super and thisContext are named, we do not need to hardcode any of thas
info in the Name Analyzer.
- this unifies how Reserved Variables are looked up and defined. They
are now all defined in the InstanceScope.
- simplify the code, remove hardcoded 'self' 'super' 'thisContext'
OCAbstractMethodScope has still the unused var, this can not be changed
in the runnning system and will be done directly as a code change on the
repository later.
The file was modifiedsrc/OpalCompiler-Core/OCRequestorScope.class.st (diff)
The file was modifiedsrc/OpalCompiler-Core/OCAbstractMethodScope.class.st (diff)
The file was modifiedsrc/OpalCompiler-Core/OCInstanceScope.class.st (diff)
The file was modifiedsrc/OpalCompiler-Core/OCExtraBindingScope.class.st (diff)