boltlang / Bolt

A programming language for rapid application development
35 stars 1 forks source link

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

Open samvv opened 7 months ago

samvv commented 7 months ago

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 }