compiler/TSemanticAnalyser.st
changeset 8 eec72263ed75
parent 7 7556e3d41d80
child 9 569bf5707c7e
--- 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