Closed
Description
https://forum.rescript-lang.org/t/ann-enhanced-ergonomics-for-record-types/4480/8?u=cristianoc
Example:
type x<'a> = {
a: 'a,
b: int,
}
type y<'a> = {
...x<'a>,
c: float,
}
There are few choices possible here. The simplest, most restrictive one is:
y
has the same number and names of type parameters asx
, then there's nothing else to check.