You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd be happy to poke and it and see what I can find out. Off the top of my head I am not sure what the issue is (the code on line 422 is just picking the pos off the autom).
Good call. I looked at DW_AT_decl_file for functions, and it seems that's already correct, though I don't see how it happens exactly. You want to send the CL or shall I?
What version of Go are you using (
go version
)?go version devel +4558321eb2 Mon Feb 5 18:37:02 2018 +0000 linux/amd64
Does this issue reproduce with the latest release?
No, 1.9 doesn't have DW_AT_decl_line
What did you do?
What did you expect to see?
DW_AT_decl_line 200
What did you see instead?
I verified that if I introduce a syntax error the compiler reports it at 200:
@thanm Presumably this boils down to
go/src/cmd/compile/internal/gc/pgen.go
Line 422 in 4558321
The text was updated successfully, but these errors were encountered: