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
module A
imports A-SYNTAX
syntax A ::= b(MInt{64}, MInt{64}, MInt{64})
rule a(I, M) => b(Int2MInt(I), M, 100p64)
configuration <k> $PGM:A </k>
endmodule
Steps to Reproduce
kompile a.k
krun -cPGM='a(100, 100p64)'
Note that the result is
<k>
b ( 100p64 , 6p64 , 100p64 ) ~> .K
</k>
i.e., 100p64 in the input was parsed, for some reason as 6p64. Note that 100p64 is parsed properly in the k file. Also, a simple kast call parses the value properly:
What component is the issue in?
None
Which command
What K Version?
v7.1.104-0-g34892bf1cc
Operating System
Linux
K Definitions (If Possible)
module A-SYNTAX
imports INT
imports MINT
endmodule
module A
imports A-SYNTAX
syntax A ::= b(MInt{64}, MInt{64}, MInt{64})
endmodule
Steps to Reproduce
kompile a.k krun -cPGM='a(100, 100p64)'
Note that the result is
i.e.,
100p64
in the input was parsed, for some reason as6p64
. Note that100p64
is parsed properly in the k file. Also, a simplekast
call parses the value properly:Expected Results
b ( 100p64 , 100p64 , 100p64 ) ~> .KThe text was updated successfully, but these errors were encountered: