Closed gteege closed 4 years ago
The code
type A type T = A[3]! f: T -> () f t = ()
causes the error message
Parsing... Resolving dependencies... Typechecking... Desugaring and typing... Internal TC failed: Didn't use linear variable Compilation failed!
It seems that the bang operator has no effect for the array element type. Note that it works fine for A#[3]!.
A#[3]!
The code
causes the error message
It seems that the bang operator has no effect for the array element type. Note that it works fine for
A#[3]!
.