You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Athena rejects the use of unifiable sorts constructed via subsorts when in the context of a module.
Below are two code snippets, identical except that the second code snippet defines the BTree and related code inside of a Tree module, while the first snippet is defined in the top level Athena context.
Example 1 runs without error, while evaluating example 2 will cause Athena to report the following problem:
Error: Unable to infer a sort for the term:
(Tree.root (Tree.leaf Tree.data1)
(Tree.leaf Tree.data2))
(Failed to unify the sorts Tree.Sort2 and Tree.Sort1.).
The text was updated successfully, but these errors were encountered:
Athena rejects the use of unifiable sorts constructed via
subsorts
when in the context of a module.Below are two code snippets, identical except that the second code snippet defines the
BTree
and related code inside of aTree
module, while the first snippet is defined in the top level Athena context.Example 1 runs without error, while evaluating example 2 will cause Athena to report the following problem:
The text was updated successfully, but these errors were encountered: