WhileyCompiler
WhileyCompiler copied to clipboard
StackOverflowError on Recursive Template
The following produces a StackOverflowError:
type List<T> is { null|List<List<T> > next }
function damn<T>(T x) -> List<T>:
return {next: damn(x)}
That's not ideal!
Thanks to @IsaacOscar for pointing this out!!!