I have the following productions:
syntax Id
syntax Exp ::= Id
syntax Exps ::= List{Exp, ","}
syntax Ids ::= List{Id, ","}
What does this error mean?
[Error] Critical: Cannot compute least sort of term:
_,__KOOL-UNTYPED-SYNTAX(Id(#"x"),, .List{"_,__KOOL-UNTYPED-SYNTAX"}(.KList)).
Possible sorts are [Ids, Exps], but their least common subsort is
GeneratedListBottom{_,__KOOL-UNTYPED-SYNTAX}, which is not a possible sort.All
terms must have a unique least sort; consider assigning unique KLabels to
overloaded productions/completing the subsort lattice.
while evaluating function project:Stmts
while evaluating function initKCell
while evaluating function initThreadCell
while evaluating function initThreadsCell
while evaluating function initTCell