mirror of
https://github.com/anoma/juvix.git
synced 2024-12-13 19:49:20 +03:00
b5ffa658ee
Filepaths within a `Loc` must now be absolute or an error is thrown when `mkLoc` is called. This `Loc` is used when displaying errors. This commit converts the Core evaluator filepath to an absolute path before calling `mkLoc`. Before this fix, the Core evaluator would crash if it encountered an error instead of displaying the error if called on a relative path. |
||
---|---|---|
.. | ||
Commands | ||
TopCommand | ||
App.hs | ||
AsmInterpreter.hs | ||
CommonOptions.hs | ||
Evaluator.hs | ||
GlobalOptions.hs | ||
Main.hs | ||
Root.hs | ||
TopCommand.hs |