Closed LightAndLight closed 1 year ago
When I wrote a type signature like this:
parseUri : String -> (| Object : { hash : String }, Blob : { hash : String }, Commit : { hash : String, path : (| None : (), Tree : Array String, Parent : Array String |) }, Tree : { hash : String }, Error : String |)
I got an error:
error: expected one of: indent (>= 13) | xx | hash : String, | ^
The type I wrote should be syntactically valid.
When I wrote a type signature like this:
I got an error:
The type I wrote should be syntactically valid.