Consider APPLY_CONSTRUCTOR applied to values to be a value (#8284)
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>
Fri, 11 Mar 2022 18:03:09 +0000 (12:03 -0600)
committerGitHub <noreply@github.com>
Fri, 11 Mar 2022 18:03:09 +0000 (18:03 +0000)
commit2b44509b23e23e6dfb29899ccb55ee39de287b07
tree336a4500d4ce2c48ad6e6f6d3b9ac7e52bd9e084
parent3f09cf86d8a0129c12afc6ee63445c2a714ce5f6
Consider APPLY_CONSTRUCTOR applied to values to be a value (#8284)

Fixes cvc5/cvc5-projects#474.

Previously TheoryModel::isModelValue was incorrect for APPLY_CONSTRUCTOR.
src/theory/theory_model.cpp
src/theory/theory_model_builder.cpp
test/regress/CMakeLists.txt
test/regress/regress0/datatypes/proj-issue474-app-cons-value.smt2 [new file with mode: 0644]