From 431bf2d0155de4c05f4162ee451290b4b7cdd8ff Mon Sep 17 00:00:00 2001 From: "Michael D. Lowis" Date: Mon, 13 Jul 2020 16:56:21 -0400 Subject: [PATCH] cleaned up debug printing code --- lib/dyn.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/dyn.rb b/lib/dyn.rb index d86cf19..f82d06d 100755 --- a/lib/dyn.rb +++ b/lib/dyn.rb @@ -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 -- 2.52.0