From 0179638f0ea9f7166e9f2fde9893eef043af2ec2 Mon Sep 17 00:00:00 2001 From: Torsten Ruger Date: Thu, 15 Oct 2015 10:27:06 +0300 Subject: [PATCH] cleaning --- lib/phisol/compiler/class_field.rb | 2 +- lib/phisol/compiler/class_statement.rb | 2 +- lib/phisol/compiler/function_definition.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/phisol/compiler/class_field.rb b/lib/phisol/compiler/class_field.rb index 6ed86f6d..49b93359 100644 --- a/lib/phisol/compiler/class_field.rb +++ b/lib/phisol/compiler/class_field.rb @@ -9,7 +9,7 @@ module Phisol raise "no class" unless for_class index = for_class.object_layout.variable_index(name) #raise "class field already defined:#{name} for class #{for_class.name}" if index - puts "Define field #{name} on class #{for_class.name}" + #puts "Define field #{name} on class #{for_class.name}" index = for_class.object_layout.add_instance_variable( name ) #TODO need typing if value diff --git a/lib/phisol/compiler/class_statement.rb b/lib/phisol/compiler/class_statement.rb index eecc3bc4..64fef059 100644 --- a/lib/phisol/compiler/class_statement.rb +++ b/lib/phisol/compiler/class_statement.rb @@ -6,7 +6,7 @@ module Phisol name , derives , statements = *statement raise "classes dont yet play babushka, get coding #{name}" if @clazz @clazz = Parfait::Space.object_space.get_class_by_name! name - puts "Compiling class #{@clazz.name.inspect}" + #puts "Compiling class #{@clazz.name.inspect}" statement_value = process_all(statements).last @clazz = nil return statement_value diff --git a/lib/phisol/compiler/function_definition.rb b/lib/phisol/compiler/function_definition.rb index 3cbc0811..2b515724 100644 --- a/lib/phisol/compiler/function_definition.rb +++ b/lib/phisol/compiler/function_definition.rb @@ -38,7 +38,7 @@ module Phisol @method.for_class.add_instance_method @method end @method.source.receiver = r - puts "compile method #{@method.name}" + #puts "compile method #{@method.name}" kids.to_a.each do |ex| ret = process(ex)