From 493419f324955fe16883c27d4e6a5ffcc5a63e43 Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Wed, 25 Mar 2020 03:35:30 -0700 Subject: [PATCH] Remove debug output --- code/compiler/10/ast.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/code/compiler/10/ast.cpp b/code/compiler/10/ast.cpp index bbf72e7..b55c347 100644 --- a/code/compiler/10/ast.cpp +++ b/code/compiler/10/ast.cpp @@ -1,9 +1,7 @@ #include "ast.hpp" #include -#include #include "binop.hpp" #include "error.hpp" -#include "type.hpp" #include "type_env.hpp" static void print_indent(int n, std::ostream& to) { @@ -164,10 +162,6 @@ type_ptr ast_case::typecheck(type_mgr& mgr) { input_type = mgr.resolve(case_type, var); if(!dynamic_cast(input_type.get())) { - std::cout << dynamic_cast(input_type.get()) << std::endl; - std::cout << dynamic_cast(input_type.get()) << std::endl; - std::cout << var << std::endl; - input_type->print(mgr, std::cout); std::cout << std::endl; throw type_error("attempting case analysis of non-data type"); }