https://bugzilla.redhat.com/show_bug.cgi?id=1244246

Jan Chaloupka <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|needinfo?([email protected] |
                   |om)                         |



--- Comment #5 from Jan Chaloupka <[email protected]> ---
Smaller reproducer with github.com/elazarl/go-bindata-assetfs commit
ae4665cf2d188c65764c73fe4af5378acc549510

$ cat main.go
package main

import assetfs "github.com/elazarl/go-bindata-assetfs"
import "fmt"

type Test struct {
    assetfs.AssetFile
}

func main() {
    fmt.Println("Test")
}

$ go version
go version go1.5beta2 linux/amd64
$ GOPATH="/usr/share/gocode" go run main.go 
# github.com/elazarl/go-bindata-assetfs
/usr/share/gocode/src/github.com/elazarl/go-bindata-assetfs/assetfs.go:74:
AssetFile.Size is ambiguous
/usr/share/gocode/src/github.com/elazarl/go-bindata-assetfs/assetfs.go:74:
cannot use f (type *AssetFile) as type os.FileInfo in return argument:
    *AssetFile does not implement os.FileInfo (missing Size method)
/usr/share/gocode/src/github.com/elazarl/go-bindata-assetfs/assetfs.go:114:
AssetDirectory.Size is ambiguous
/usr/share/gocode/src/github.com/elazarl/go-bindata-assetfs/assetfs.go:114:
cannot use f (type *AssetDirectory) as type os.FileInfo in return argument:
    *AssetDirectory does not implement os.FileInfo (missing Size method)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
golang mailing list
[email protected]
https://lists.fedoraproject.org/mailman/listinfo/golang

Reply via email to