Can't use generate
for length 2^^n
with index [n]
#1291
Labels
typechecker
Issues related to type-checking Cryptol code.
generate
for length 2^^n
with index [n]
#1291
I was trying to use left-hand-side indexing to define a list of length
2^^n
using a perfectly-sized index of type[n]
. Here's a simplified version of my function definition:But cryptol rejects this with a type error message:
Using perfectly-sized index types like this is one of the reasons for introducing left-hand-side indexing in the first place. We should make this work.
The text was updated successfully, but these errors were encountered: