FascinatedBox / lily

Interpreted language focused on expressiveness and type safety.

Home Page:http://lily-lang.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Having ./ at the start of traceback is annoying

FascinatedBox opened this issue · comments

The interpreter's lily_load_* functions add ./ to the start of any paths that they're given. This is because, some time ago, one of you fine folks informed me that without it, the interpreter was searching system library paths.

I noticed this some time ago when doing work on parsekit. It's annoying seeing local paths prefixed with ./ when I never passed that path in.

The interpreter should try the ./ included path, but omit it when storing the paths that have been tried.

Closing this as part of the gitlab migration: https://gitlab.com/FascinatedBox/lily/issues/355