Closed
Description
In some unclear cases, when running on Windows, compilation raises strange exceptions like this:
Exception in thread "main" com.eed3si9n.eval.EvalException: an error in expression: class dotty.tools.dotc.reporting.Diagnostic$Error at ?: invalid file path: Illegal char <<> at index 0: <setting>
at com.eed3si9n.eval.Eval.checkError(Eval.scala:259)
at com.eed3si9n.eval.Eval.compileAndLoad(Eval.scala:224)
at com.eed3si9n.eval.Eval.evalCommon(Eval.scala:203)
at com.eed3si9n.eval.Eval.eval(Eval.scala:119)
at com.eed3si9n.eval.Eval.evalInfer(Eval.scala:71)
It looks like this is due to using <settings>
as a fake file name where <
is an invalid character for a filename on Windows.
I have attached a sample project to reproduce the issue:
Metadata
Metadata
Assignees
Labels
No labels