Range types are unimplemented #21
Labels
deferred
Not a current priority
enhancement
New feature or request
ewasm
Code generation for the eWASM system for Ethereum
move ir
Code generation for Libra
The following is taken from the flint guide:
Range types
unimplemented
Flint includes two range types, which are shortcuts for expressing ranges of values. These can only be used with
for-in
loops.The half-open range (
a..<b
) defines a range that runs froma
tob
, but does not includeb
.The open range operator (
a...b
) defines a range that runs froma
tob
and does includeb
.At the moment, both
a
andb
must be integer literals, not variables!The text was updated successfully, but these errors were encountered: