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
Gobra frequently generates permission amounts like 1 / 4000 / 2 for SCION code by @jcp19. These are intended to be a fractional permission 1/4000 divided by two, i.e., the permission value 1/8000. Instead, they are apparently parsed as an integer division 1 \ 4000, which is zero, which is then the numerator in the fractional permission 0 / 2. This is bad because a) it's not the intended meaning, and b) there is no way to pretty-print it so that the parser returns the intended meaning.
The text was updated successfully, but these errors were encountered:
Gobra frequently generates permission amounts like
1 / 4000 / 2
for SCION code by @jcp19. These are intended to be a fractional permission1/4000
divided by two, i.e., the permission value1/8000
. Instead, they are apparently parsed as an integer division1 \ 4000
, which is zero, which is then the numerator in the fractional permission0 / 2
. This is bad because a) it's not the intended meaning, and b) there is no way to pretty-print it so that the parser returns the intended meaning.The text was updated successfully, but these errors were encountered: