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

Line info for first statement in short form function definitions is wrong #137

Open
fredrikekre opened this issue Mar 22, 2019 · 1 comment
Labels

Comments

@fredrikekre
Copy link
Contributor

e.g.
flor

for
https://github.com/JuliaLang/julia/blob/b076d04bf44f7e064a9875525c239471bd6e7563/base/broadcast.jl#L196-L197

@KristofferC
Copy link
Member

KristofferC commented Mar 23, 2019

It's not really the floor that is the problem but the current line. It should be at 197 but we get told that the statement is on line 196 so that is what we show, ref JuliaLang/julia#31458.

@KristofferC KristofferC changed the title function floor not working for multiline short form functions Line info for first statement in short form function definitions is wrong Apr 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants