Review of trunk r4525 (TypeNode::getBaseType()):
authorMorgan Deters <mdeters@gmail.com>
Thu, 8 Nov 2012 21:53:14 +0000 (21:53 +0000)
committerMorgan Deters <mdeters@gmail.com>
Thu, 8 Nov 2012 21:53:14 +0000 (21:53 +0000)
commit72d6f5d9eb6c28a417b00524eff51ea38e37d985
tree2a7633872b9dc78fba3bbdd510a360435c4def39
parentb3470b5e0b7a664443b9f835db5dd86fb1487866
Review of trunk r4525 (TypeNode::getBaseType()):

* fixed TypeNode::getBaseType() for predicate subtypes
* added Type::getBaseType() for public interface
* added unit testing

To avoid confusion, also:

* renamed PredicateType::getBaseType() to "getParentType()"
* renamed TypeNode::getSubtypeBaseType() to "getSubtypeParentType()"

(this commit was certified error- and warning-free by the test-and-commit script.)
src/expr/type.cpp
src/expr/type.h
src/expr/type_node.cpp
src/expr/type_node.h
src/theory/theory.h
test/unit/expr/type_node_white.h