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

i18next library won't compile #678

Open
JurajBurian opened this issue Dec 21, 2024 · 1 comment
Open

i18next library won't compile #678

JurajBurian opened this issue Dec 21, 2024 · 1 comment

Comments

@JurajBurian
Copy link

I tried to compile the i18next library but got a compilation error.
[error] Message Phase1ReadTypescript.scala:72 Failed to parse: Parse error at 286.11 ''>'' expected but identifier key found [file => ../i18next/typescript/t.d.ts, thread => 527, project = > birl-web, ms => 10553, phase => typescript, id => i18next]com.olvind.logging.Logger$LoggedException: Failed to parse: Parse error at 286.11 ''>'' expected but identifier key found [error] at com.olvind.logging.Logger$LoggingOps$.fatal$extension(Logger.scala:178)
Here is an image of the affected code:
image

I also prepared some minimalistic examples to demonstrate the problem:
st-error-demo.zip

maybe it's the same issue as #633

Please comment your opinion folks.

Thank you very much

p.s. you are doing an amazing job!

@linux-root
Copy link

Hi @JurajBurian ,
I’ve created this PR with a test case that reproduces the issue. I’m not sure I can fully resolve it, but I wanted to submit the PR as an initial attempt. Hopefully, it serves as a starting point for others familiar with the project to jump in and work on a solution.

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

No branches or pull requests

2 participants