Skip to content
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

MsgOrigin doesn't honor listfullpaths:off #463

Open
timotheecour opened this issue Dec 16, 2020 · 1 comment
Open

MsgOrigin doesn't honor listfullpaths:off #463

timotheecour opened this issue Dec 16, 2020 · 1 comment
Labels
bug Something isn't working easy

Comments

@timotheecour
Copy link
Owner

timotheecour commented Dec 16, 2020

links

D20201216T123530

eg:

nim c -r -d:case1 --listfullpaths:off $timn_D/tests/nim/all/t11521.nim
t11521.nim(5, 1) template/generic instantiation from here
t11521.nim(10, 14) Error: expression 'fn[float32]()' cannot be called
    fn[float32]()
               ^
/Users/timothee/git_clone/nim/Nim_devel/compiler/semcall.nim(414, 19) compiler msg initiated here [MsgOrigin]
@timotheecour timotheecour added bug Something isn't working easy labels Dec 16, 2020
@timotheecour
Copy link
Owner Author

that's because of:
compiler/msgs.nim:

template instLoc*(): InstantiationInfo = instantiationInfo(-2, fullPaths = true)

fullPaths = true should depend on --filenames:abs

refs nim-lang#17746

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working easy
Projects
None yet
Development

No branches or pull requests

1 participant