diff options
author | Morgan Deters <mdeters@gmail.com> | 2012-11-18 21:53:36 +0000 |
---|---|---|
committer | Morgan Deters <mdeters@gmail.com> | 2012-11-18 21:53:36 +0000 |
commit | 8f9f549059060402e00cbc8e7725eb1ed758bfdc (patch) | |
tree | 58783604e659fd45dce3d0a1928f6bab9dda0af1 /src/expr/expr_manager_template.cpp | |
parent | a441252481616ff4851f208caffce826a026ae30 (diff) |
Disable predicate subtyping:
* remove from public interface (ExprManager, Type)
* CVC parser reports an unimplemented feature error if used
I didn't want to tear it out completely (from NodeManager, TypeNode,
type-checking, pre-processing, etc.) because that's a lot of hassle
and we'll add it back in after the release anyway. It *does* mean
that CVC4::Predicate is in the public interface, but that it can't be
used for anything (by users).
(this commit was certified error- and warning-free by the test-and-commit script.)
Diffstat (limited to 'src/expr/expr_manager_template.cpp')
-rw-r--r-- | src/expr/expr_manager_template.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/expr/expr_manager_template.cpp b/src/expr/expr_manager_template.cpp index 738529d92..cacfa9215 100644 --- a/src/expr/expr_manager_template.cpp +++ b/src/expr/expr_manager_template.cpp @@ -730,6 +730,7 @@ SortConstructorType ExprManager::mkSortConstructor(const std::string& name, new TypeNode(d_nodeManager->mkSortConstructor(name, arity)))); } +/* - not in release 1.0 Type ExprManager::mkPredicateSubtype(Expr lambda) throw(TypeCheckingException) { NodeManagerScope nms(d_nodeManager); @@ -740,7 +741,9 @@ Type ExprManager::mkPredicateSubtype(Expr lambda) throw TypeCheckingException(this, &e); } } +*/ +/* - not in release 1.0 Type ExprManager::mkPredicateSubtype(Expr lambda, Expr witness) throw(TypeCheckingException) { NodeManagerScope nms(d_nodeManager); @@ -751,6 +754,7 @@ Type ExprManager::mkPredicateSubtype(Expr lambda, Expr witness) throw TypeCheckingException(this, &e); } } +*/ Type ExprManager::mkSubrangeType(const SubrangeBounds& bounds) throw(TypeCheckingException) { |