-
Notifications
You must be signed in to change notification settings - Fork 301
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
Error: An implementation of file has already been given #781
Comments
No good, Fable is merging all files in a single project (that's the only way to get the full AST). We could try to avoid that or change the file names somehow, but it'd be a considerable amount of work. Ideally this should be fixed in the compiler, I'm taking shots in the dark here: dotnet/fsharp#2728 |
Original issue in F# compiler dotnet/fsharp#2679 |
Can't compile due to fable-compiler/Fable#781
A coup d'état attempt and @forki's help has been necessary to fix this, but it finally seems to be working now :) @et1975 @MangelMaxime Could you please update to latest dotnet-fable (use |
Thanks @forki and @alfonsogarciacaro this solved the problem we were facing when using Elmish + elmish-browser-navigation 👏 👏 👏 |
Description
Same file name across different project references causes the error:
Repro code
in fable-elmish/samples/react:
Expected and actual results
Expect it to compile.
Related information
The text was updated successfully, but these errors were encountered: