Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Incorrect JS translation in case of invalid characters in name #1393

Closed
Jooseppi12 opened this issue Feb 15, 2024 · 0 comments
Closed

Incorrect JS translation in case of invalid characters in name #1393

Jooseppi12 opened this issue Feb 15, 2024 · 0 comments

Comments

@Jooseppi12
Copy link
Member

Given the following code:

type type' =
    static member myFunction'<'t>(x: 't) = Console.Log x; x

When the above function would be called, the generated js would have an import statement like this:

import { myFunction' as myFunction_ } from "./usedproxy.What.type'.js"

Which yields an error: unterminated string literal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant