diff options
Diffstat (limited to 'Source/Provers/SMTLib/TypeDeclCollector.cs')
-rw-r--r-- | Source/Provers/SMTLib/TypeDeclCollector.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Provers/SMTLib/TypeDeclCollector.cs b/Source/Provers/SMTLib/TypeDeclCollector.cs index 4a4ecfb6..40dc7cf6 100644 --- a/Source/Provers/SMTLib/TypeDeclCollector.cs +++ b/Source/Provers/SMTLib/TypeDeclCollector.cs @@ -266,7 +266,7 @@ void ObjectInvariant() public static bool IsDatatypeFunction(Function f) {
return
- QKeyValue.FindBoolAttribute(f.Attributes, "constructor") ||
+ f is DatatypeConstructor ||
f is DatatypeSelector ||
f is DatatypeMembership;
}
|