Bolt icon indicating copy to clipboard operation
Bolt copied to clipboard

Type check fails on records when a polymorphic rest type is involved

Open samvv opened this issue 1 year ago • 0 comments

The following example should result in an error but none is raised:

let foo x : { first : Bool, second : Int | a } -> Int

foo { first = True, third = 4 }

samvv avatar Jan 21 '24 20:01 samvv