-
Notifications
You must be signed in to change notification settings - Fork 1.1k
VirtualFile isn't so virtual: "Illegal char <<> at index 0" #23057
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
Comments
No doubt, I did something wrong.
|
It's possible you'd need to |
I'm on a home windows box, my first swing was under WSL, then I'll try forking and also under Windoze. This is just with the supplied zip. I'm putting out because of my conflicted relationship with |
I tried again with the test in
where GetValueTest
I tried priming the map of sources in Eval.compileAndLoad
probably I just didn't understand something about context construction EvalSourceFile can encode ps) I followed the download instructions for windows and it just worked; I had a coursier.bat from 2023 and a jdk. Already had windows git, so cloned in powershell and ran sbt there. Edited from WSL, however. After windoze 10 expires, I won't be available for testing. |
This was originally reported to Eval as eed3si9n/eval#15.
Compiler version
3.6.4
Minimized code
Here's a draft PR to Eval eed3si9n/eval#18 (GitHub Actions log). Eval internally creates
https://github.com/eed3si9n/eval/blob/e1d49c668327bd389c1ee444b0c3b5a54ba94e89/src/main/scala-3/com/eed3si9n/eval/Eval.scala#L309C1-L316C21
where
srcName
is set to"<setting>"
.Output
The test works fine on Linux and macOS, but it fails on Windows:
Expectation
<setting>
as the file name.Notes
Somewhere along the file, something might be calling
Paths.get(...)
?The text was updated successfully, but these errors were encountered: