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
+ kast --input kore test2.kore --definition test-kompiled
pred1(#token("3","K"))
Expected Behavior
The file test1.kore was generated by pyk on the KAST term pred1(#token('3', 'Int')). When removing the {} on SortBool, SortKItem, and SortInt{}, the frontend the allows it (that's test2.kore).
So either pyk should not be generating the kore term with the extra curlys, or the frontend should be able to parse the first file.
Additionally, the frontend is giving back pred1(#token('3', 'K')), when it should be giving back pred1(#token('3', 'Int')). So somehow it's losing sort information here.
The text was updated successfully, but these errors were encountered:
K Version
Actually version e72bb80 with some modifications to pyk.
Description
pyk
is writing a Kore term to text that the Frontend does not want to parse.Input Files
File
test.k
:File
test1.kore
:File
test2.kore
:Reproduction Steps
Kompile the definition:
Kast the first file:
Kast the second file:
Expected Behavior
The file
test1.kore
was generated bypyk
on the KAST termpred1(#token('3', 'Int'))
. When removing the{}
onSortBool
,SortKItem
, andSortInt{}
, the frontend the allows it (that'stest2.kore
).So either
pyk
should not be generating the kore term with the extra curlys, or the frontend should be able to parse the first file.Additionally, the frontend is giving back
pred1(#token('3', 'K'))
, when it should be giving backpred1(#token('3', 'Int'))
. So somehow it's losing sort information here.The text was updated successfully, but these errors were encountered: