K Version
K version: 5.2.110
Build date: Mon Mar 21 00:10:55 CET 2022
Description
The command kompile lazy.k returns the error:
[Error] Internal: Uncaught exception thrown of type NoSuchElementException.
Please rerun your program with the --debug flag to generate a stack trace, and
file a bug report at https://github.com/runtimeverification/k/issues
(NoSuchElementException: key not found: _andBool_)
Input Files
The file lazy.k is:
module LAZY-SYNTAX
// imports BOOL
syntax MyBool ::= "mytrue" | "myfalse"
syntax BExp ::= MyBool | BExp "myand" BExp [strict(1)]
syntax KResult ::= MyBool
endmodule
module LAZY
imports LAZY-SYNTAX
rule mytrue myand B2 => B2
rule myfalse myand _ => myfalse
endmodule
Expected Behavior
The command kompile lazy.k should return nothing.
To fix the problem, you can uncomment the second line (imports BOOL).
K Version
K version: 5.2.110
Build date: Mon Mar 21 00:10:55 CET 2022
Description
The command
kompile lazy.kreturns the error:Input Files
The file
lazy.kis:Expected Behavior
The command
kompile lazy.kshould return nothing.To fix the problem, you can uncomment the second line (
imports BOOL).