This commit adds TypeNode::leastCommonTypeNode(). The special case for arithmetic...
authorTim King <taking@cs.nyu.edu>
Fri, 18 May 2012 23:48:38 +0000 (23:48 +0000)
committerTim King <taking@cs.nyu.edu>
Fri, 18 May 2012 23:48:38 +0000 (23:48 +0000)
commitea8139dc7b727bf48bd7b7c6b169d763618a1f2a
tree95701608122c2a6e232ee22979e9da757bf4e2dd
parent3b93d45dab9513195d5604a069423ed13e173f49
This commit adds TypeNode::leastCommonTypeNode().  The special case for arithmetic in TypeNode::operator==() has been removed.  A number of faulty type checking checks were switched to use isSubtypeOf. The resolves bug #339
12 files changed:
src/expr/node_manager.h
src/expr/type_node.cpp
src/expr/type_node.h
src/theory/arith/theory_arith_type_rules.h
src/theory/booleans/theory_bool_type_rules.h
src/theory/builtin/theory_builtin_type_rules.h
src/theory/datatypes/theory_datatypes_type_rules.h
src/theory/uf/theory_uf_type_rules.h
src/util/integer_cln_imp.h
src/util/integer_gmp_imp.h
src/util/subrange_bound.h
test/regress/regress0/Makefile.am