miking-lang / miking

Miking - the meta viking: a meta-language system for creating embedded languages
Other
51 stars 31 forks source link

Type bug fix #845

Closed aathn closed 3 months ago

aathn commented 6 months ago

Fixes a bug in reclet generalization of record types.

Also slightly simplifies the reclet type checking logic by assuming that the right-hand sides are lambdas so that generalization is always safe (this is enforced later in the pipeline anyways).

Resolves https://github.com/miking-lang/miking/issues/844