emacsorphanage / go-eldoc

eldoc for go language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Argument types with dot not properly handled.

Bad-ptr opened this issue · comments

Thanks for fixing my previous issue. And I found another one.

Test case:

import "time"

type test_interface interface{
    test_mf(arg time.Duration)
    test_ms(time.Duration)
}
func main() {
    var ti test_interface
    ti.test_mf()
    ti.test_ms()
}

And, probably, fix:

"\\(" go-identifier-regexp "\\(?:\\." go-identifier-regexp "\\)?\\)"

at https://github.com/syohex/emacs-go-eldoc/blob/master/go-eldoc.el#L167

Thanks for report. I fixed this issues.

fix-issue10

If you still have problem, please reopen this issue.