Recommit revision 365 (undoing revision 375, which reverted revision 365).
authorMorgan Deters <mdeters@gmail.com>
Sun, 4 Apr 2010 19:36:56 +0000 (19:36 +0000)
committerMorgan Deters <mdeters@gmail.com>
Sun, 4 Apr 2010 19:36:56 +0000 (19:36 +0000)
commit73be7b6b5a9c98cc5a32dcfb3050b9656bf10243
tree5421477844240ad71493ee01a85a4a8a5369d92d
parent3e27983545a25f3acc3bf7c7dbdf0ec1fe3219ca
Recommit revision 365 (undoing revision 375, which reverted revision 365).
Fix the case in NodeBuilderBlack that triggered bug #82.  (Fixes bug #82.)

This also fixes regression failures from this morning (2010 Apr 4), in
the optimized builds, for which a fix was included in 365 and reverted
in 375.  They looked like this:

  In ExprBlack::testGetConst:
  /usr/local/share/cvc4/src/cvc4-2010-04-04/builds/x86_64-unknown-linux-gnu/production/../../../test/unit/expr/expr_black.h:377: Error: Expected (a->getConst<Kind>()) to throw (IllegalArgumentException) but it didn't throw
  /usr/local/share/cvc4/src/cvc4-2010-04-04/builds/x86_64-unknown-linux-gnu/production/../../../test/unit/expr/expr_black.h:378: Error: Expected (b->getConst<Kind>()) to throw (IllegalArgumentException) but it didn't throw
  [etc..]
src/expr/expr_manager_template.cpp
src/expr/expr_template.cpp
src/expr/mkexpr
src/expr/type.cpp
src/expr/type.h
src/theory/booleans/kinds
test/unit/expr/expr_black.h
test/unit/expr/node_builder_black.h