--- a/compiler/TSemanticAnalyser.st Wed Sep 02 18:15:44 2015 +0100
+++ b/compiler/TSemanticAnalyser.st Mon Sep 14 11:19:10 2015 +0100
@@ -47,20 +47,19 @@
!
acceptMethodNode: aMethodNode
- | binding scope bindingSelf |
+ | scope bindingSelf |
- binding := TMethodBinding class: currentClass binding selector: aMethodNode selector.
scope := TScope node: aMethodNode.
bindingSelf := TArgumentBinding name:'self'.
bindingSelf index: self.
scope addVariable: bindingSelf.
- aMethodNode binding: binding.
+
aMethodNode scope: scope.
super acceptMethodNode: aMethodNode
"Created: / 25-08-2015 / 22:29:21 / Jan Vrany <jan.vrany@fit.cvut.cz>"
- "Modified: / 02-09-2015 / 08:44:21 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+ "Modified: / 13-09-2015 / 09:30:28 / Jan Vrany <jan.vrany@fit.cvut.cz>"
!
acceptVariableNode: aVariableNode