haya14busa / vim-stacktrace

:mag: :bug: :paw_prints: Stacktrace of Vim script
MIT License
21 stars 0 forks source link

compliance with src pkg change. #7

Closed Shane-XB-Qian closed 3 years ago

Shane-XB-Qian commented 3 years ago

// looks 'go-vimlparser' had been redirect to 'vim-jp', so perhaps should change its pkg link as well. // though not sure if it can show correct stack, since current vim err stack looks not clear as past, and this go build failed (had no chance to check yet) :-)

go build -o ./vim-stacktrace
# github.com/haya14busa/vim-stacktrace/go/stacktrace
../../../go/src/github.com/haya14busa/vim-stacktrace/go/stacktrace/stacktrace.go:279:17: cannot use node (type *"github.com/vim-jp/go-vimlparser/ast".File) as type "github.com/haya14busa/go-vimlparser/ast".Node in argument to funcLines:
    *"github.com/vim-jp/go-vimlparser/ast".File does not implement "github.com/haya14busa/go-vimlparser/ast".Node (wrong type for Pos method)
        have Pos() "github.com/vim-jp/go-vimlparser/ast".Pos
        want Pos() "github.com/haya14busa/go-vimlparser/ast".Pos
make: *** [Makefile:3: all] Error 2
Shane-XB-Qian commented 3 years ago

i changed the pkg link from this to my forked (since no merged yet and the main req this pkg here), 'go build' passed. however looks :CStack... that cmd looks still not worked as expected.. some err (of this plugin itself) raised.. so let it be.. pr closing.. sorry bother.