koka-lang / koka

Koka language compiler and interpreter
http://koka-lang.org
Other
3.26k stars 161 forks source link

fix extend type #372

Closed TimWhiting closed 10 months ago

TimWhiting commented 11 months ago

Previously, accessors were being generated when adding a single constructor to an open type (since all of the added constructors had the same fields), creating a dummy constructor with no fields is a workaround, but the real fix is to not generate accessors for open or extend types.

daanx commented 10 months ago

Thanks Tim !