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
This is a Boogie problem. Similar problem also happens with [Address] in 04_lottery_10_users.flint.
contract A {
var arr1: Int[10] = []
}
A :: (any) {
public init() {}
func joinedAlready(participant: Int) -> Bool
{
for var i: Int in arr1 {
if i == participant {
return true
}
}
return false
}
}
eror message:
unknown sequence type used for for-loop iterable fixedSizeArrayType(AST.RawType.basicType(AST.RawType.BasicType.int), size: 10)
The text was updated successfully, but these errors were encountered:
wmanshu
changed the title
Boogie problem with fixed sized arrays
Boogie problem with loop over fixed sized arrays
Aug 23, 2019
wmanshu
changed the title
Boogie problem with loop over fixed sized arrays
Boogie problem with loop over fixed size arrays
Aug 23, 2019
This is a Boogie problem. Similar problem also happens with [Address] in 04_lottery_10_users.flint.
eror message:
The text was updated successfully, but these errors were encountered: