Changes

Summary

  1. UndeclaredVariable>>possiblyRegisteredWithName: to get a variable without registering (details)
  2. OCASTSemanticAnalyzer only register undeclared variables at the backend (details)
  3. add two tests OCCompilerTest>>testUndefinedVariable (details)
  4. new tests testUndeclaredReparationWithSomething (details)
  5. OCASTSemanticAnalyzer>>undeclaredVariable: unregistered declared variable should be reused in the same function (details)
  6. testUndeclaredReparationWith* harden with 2 (two) undeclared to ensure full reparation (details)
Commit a1632c193652ae543951ffef5a2566b103346fe5 by jean
UndeclaredVariable>>possiblyRegisteredWithName: to get a variable without registering
The file was modifiedsrc/Kernel/UndeclaredVariable.class.st (diff)
Commit ed8d37b37f19a28e5236fa6d39de554fe71ebd8c by jean
OCASTSemanticAnalyzer only register undeclared variables at the backend
The file was modifiedsrc/OpalCompiler-Core/OCASTSemanticAnalyzer.class.st (diff)
The file was modifiedsrc/OpalCompiler-Core/OCASTTranslator.class.st (diff)
The file was modifiedsrc/OpalCompiler-Core/OCUndeclaredVariableWarning.class.st (diff)
Commit 4d869c44b893be39fcb78e1469daab48b5ff02d6 by jean
add two tests OCCompilerTest>>testUndefinedVariable
The file was modifiedsrc/OpalCompiler-Tests/OCCompilerTest.class.st (diff)
Commit b96efe1b93856f84e709f507f00ee42a885e221c by jean
new tests testUndeclaredReparationWithSomething
The file was modifiedsrc/Kernel-Tests-Extended/CompiledMethodTest.class.st (diff)
Commit 995d22bc41257102b37ffef8e9d8495f67c6fff4 by jean
OCASTSemanticAnalyzer>>undeclaredVariable: unregistered declared variable should be reused in the same function
The file was modifiedsrc/OpalCompiler-Core/OCUndeclaredVariableWarning.class.st (diff)
The file was modifiedsrc/OpalCompiler-Core/OCASTSemanticAnalyzer.class.st (diff)
Commit cfe6f5ca9928928994807567f3c9b8298d561813 by jean
testUndeclaredReparationWith* harden with 2 (two) undeclared to ensure full reparation
The file was modifiedsrc/Kernel-Tests-Extended/CompiledMethodTest.class.st (diff)