StrongerXi / soc

Compiler for a subset of OCaml
1 stars 0 forks source link

Fix tyvar namer #41

Closed StrongerXi closed 3 years ago

StrongerXi commented 3 years ago

Tyvar_namer failed to capture dependency of tyvars between arguments of different functions.

See 844378b for the cause and fix.

See e73d53b for the regression test added for Tyvar_namer.

Lesson unit tests really keep your butt covered.