hkust-taco / mlscript

The MLscript programming language. Functional and object-oriented; structurally typed and sound; with powerful type inference. Soon to have full interop with TypeScript!
https://hkust-taco.github.io/mlscript
MIT License
174 stars 27 forks source link

Fix code generation for local functions declared by `let rec` #198

Closed chengluyu closed 11 months ago

chengluyu commented 11 months ago

This PR fixes the problem that local functions declared by let rec doesn't work in code generation before.

LPTK commented 11 months ago

@chengluyu in case you didn't notice: the PR needs to be fixed.

chengluyu commented 11 months ago

Thanks for the reminder. Let me confirm. Besides conflicts, is there anything else I neglected?