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.h | |
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.h')
-rw-r--r-- | src/expr/expr_manager_template.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/expr/expr_manager_template.h b/src/expr/expr_manager_template.h index f38acd153..561d99392 100644 --- a/src/expr/expr_manager_template.h +++ b/src/expr/expr_manager_template.h @@ -438,8 +438,9 @@ public: * not a LAMBDA, or is ill-typed, or if CVC4 fails at proving that * the resulting predicate subtype is inhabited. */ - Type mkPredicateSubtype(Expr lambda) - throw(TypeCheckingException); + // not in release 1.0 + //Type mkPredicateSubtype(Expr lambda) + // throw(TypeCheckingException); /** * Make a predicate subtype type defined by the given LAMBDA @@ -448,8 +449,9 @@ public: * a LAMBDA, or is ill-typed, or if the witness is not a witness or * ill-typed. */ - Type mkPredicateSubtype(Expr lambda, Expr witness) - throw(TypeCheckingException); + // not in release 1.0 + //Type mkPredicateSubtype(Expr lambda, Expr witness) + // throw(TypeCheckingException); /** * Make an integer subrange type as defined by the argument. |