Vim-go: :GoVet is passing but file have errors

Created on 16 Apr 2017  路  3Comments  路  Source: fatih/vim-go

Behavior

:GoVet is passing but file has errors.

captura de tela de 2017-04-15 21-49-04

Steps to reproduce:

1.Create a file with the follow content:

//+buildlinux

package main

import "fmt"

func main() {
    fmt.Println("vim-go")
}

  1. :Govet

Configuration

  • vimrc you used to reproduce: vimrc
  • vim version:
    VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Nov 24 2016 16:44:48)
    Corre莽玫es inclu铆das: 1-1689
    Corre莽玫es extras:8.0.0056
  • vim-go version: 1.12
  • go version: 1.8.1

Most helpful comment

Just looked at this, and found that this a go vet issue. I've tried to fix it here: https://go-review.googlesource.com/c/44371/ Let's see how it ends up. Thanks for the feedback.

All 3 comments

Just looked at this, and found that this a go vet issue. I've tried to fix it here: https://go-review.googlesource.com/c/44371/ Let's see how it ends up. Thanks for the feedback.

This is now merged https://github.com/golang/go/commit/d64c49098c626ea58f2265866dd576e138c15b29 Thanks for the feedback again.

Awesome! Thanks @fatih !

Was this page helpful?
0 / 5 - 0 ratings