Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

module rec translation throwing hard failure #1287

Closed
Jand42 opened this issue Nov 10, 2022 · 0 comments
Closed

module rec translation throwing hard failure #1287

Jand42 opened this issue Nov 10, 2022 · 0 comments
Assignees

Comments

@Jand42
Copy link
Member

Jand42 commented Nov 10, 2022

This snippet fails to compile:

[<JavaScript>]
module rec RecTest = 
    do printfn "%d" (X().x())

    type X() =
        member this.x() = 1

Inner error thrown during F# parsing: Enclosing entity not found for ( doval@12 )

@Jand42 Jand42 added the bug label Nov 10, 2022
@Jand42 Jand42 self-assigned this Nov 10, 2022
Jand42 added a commit that referenced this issue Jan 11, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants