Closed
Description
This code produces an error only in the second case:
open System.IO
let stream1 = new MemoryStream 42
let capacity = 42
let stream2 = new MemoryStream capacity
Note there is no error if new
is unused (there are legitimate warnings though):
We need to decide what to do about that before addressing this ticket - basically either fix the parser or the code fix.