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
Lean.Core.Context fileName is mangled on Windows #1410
Comments
I think this is |
Is that where |
Note that #1257 fixes the npm build problem, but the Rubiks cube sample still doesn't work due to this path problem, so I see this in the editor: |
It's here: lean4/src/Lean/Server/Utils.lean Lines 78 to 85 in da139ef
|
This is fixed by #1452 |
Prerequisites
Description
Steps to Reproduce
lake build rubiksJs
Expected behavior:
Build should succeed.
Actual behavior:
The problem appears to be that the beginning of the
ctx.fileName
is mangled like this:\d%3A\Temp\lean4-samples\RubiksCube\Rubiks.lean
It should be as follows instead:
d:\Temp\lean4-samples\RubiksCube\Rubiks.lean
This could be related to #1257
Reproduces how often: 100%
Versions
Lean (version 4.0.0-nightly-2022-08-01, commit c76fa0681651, Release)
Additional Information
Any additional information, configuration or data that might be necessary to reproduce the issue.
The text was updated successfully, but these errors were encountered: