habeanf / yap

Yet Another (natural language) Parser
Apache License 2.0
43 stars 33 forks source link

go build error - flags #11

Open menachemsperka opened 1 year ago

menachemsperka commented 1 year ago

yapproj\src\yap>go build .

yap/app

app\dep.go:648:9: cannot use flag.NewFlagSet("dep", flag.ExitOnError) (variable of type "github.com/gonuts/flag".FlagSet) as "flag".FlagSet value in struct literal app\md.go:879:9: cannot use flag.NewFlagSet("md", flag.ExitOnError) (variable of type "github.com/gonuts/flag".FlagSet) as "flag".FlagSet value in struct literal app\jointparse.go:835:9: cannot use flag.NewFlagSet("joint", flag.ExitOnError) (variable of type "github.com/gonuts/flag".FlagSet) as "flag".FlagSet value in struct literal app\ma.go:190:9: cannot use flag.NewFlagSet("ma", flag.ExitOnError) (variable of type "github.com/gonuts/flag".FlagSet) as "flag".FlagSet value in struct literal app\hebma.go:228:9: cannot use flag.NewFlagSet("ma", flag.ExitOnError) (variable of type "github.com/gonuts/flag".FlagSet) as "flag".FlagSet value in struct literal app\all.go:45:16: cannot use flag.NewFlagSet("app", flag.ExitOnError) (variable of type "github.com/gonuts/flag".FlagSet) as "flag".FlagSet value in struct literal app\depeval.go:196:9: cannot use flag.NewFlagSet("depeval", flag.ExitOnError) (variable of type "github.com/gonuts/flag".FlagSet) as "flag".FlagSet value in struct literal app\genlemmas.go:171:9: cannot use flag.NewFlagSet("lemmas", flag.ExitOnError) (variable of type "github.com/gonuts/flag".FlagSet) as "flag".FlagSet value in struct literal app\genunamlemmas.go:134:9: cannot use flag.NewFlagSet("unamblemmas", flag.ExitOnError) (variable of type "github.com/gonuts/flag".FlagSet) as "flag".FlagSet value in struct literal app\goldseg.go:151:9: cannot use flag.NewFlagSet("gseg", flag.ExitOnError) (variable of type "github.com/gonuts/flag".FlagSet) as "flag".FlagSet value in struct literal app\goldseg.go:151:9: too many errors