summaryrefslogtreecommitdiff
path: root/docs/CMakeLists.txt
diff options
context:
space:
mode:
authorAndres Noetzli <andres.noetzli@gmail.com>2021-05-18 18:27:09 -0700
committerGitHub <noreply@github.com>2021-05-19 01:27:09 +0000
commit4e6e168a5eb578df2bfd12becf7732cbdd23bc3a (patch)
tree1126450ad3e6d5dd453cb64c274ed5798d82588d /docs/CMakeLists.txt
parent9ee8b184d9e97ae241ff079803b82859ed014dfa (diff)
Improve handling of `:named` attributes (#6549)
Currently, when a :named attribute is used in a binder, the parser complains about an illegal argument. This is because an argument check in the SymbolManager fails. This is not very user friendly. This commit makes the error message clearer for the user: Cannot name a term in a binder (e.g., quantifiers, definitions) To do this, the commit changes the return type for SymbolManager::setExpressionName to include more information that can then be used by the parser to generate an appropriate error message. The commit also changes define-fun to not push/pop the local scope if it has zero arguments because it is semantically equivalent to a define-const, which allows :named terms.
Diffstat (limited to 'docs/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback