]> git.mdlowis.com Git - proto/sclpl-rb.git/commitdiff
cleaned up debug printing code
authorMichael D. Lowis <mike.lowis@gentex.com>
Mon, 13 Jul 2020 20:56:21 +0000 (16:56 -0400)
committerMichael D. Lowis <mike.lowis@gentex.com>
Mon, 13 Jul 2020 20:56:21 +0000 (16:56 -0400)
lib/dyn.rb

index d86cf19397a38dca877a8b532361606e14b61f8c..f82d06d2a87d825c24c3c5d92b3ad1b9a724273d 100755 (executable)
@@ -79,7 +79,6 @@ class SymTable < Hash
   end
 
   def free?(key)
-    puts "#{key}: local? #{local? key}  global? #{global? key}"
     (not local?(key)) && (not global?(key))
   end
 
@@ -571,7 +570,6 @@ module TypeChecker
     error(expr.loc, "object being applied is not a function (has type: #{type.to_s})") if not type.is_a? Array
     error(expr.loc, "wrong number of arguments to function call") if (type.length - 1) != expr.args.length
     type[0..-2].each_with_index do |t,i|
-      pp expr
       check(env, expr.args[i], t)
     end
     expr.type = type.last