aws-dax-go icon indicating copy to clipboard operation
aws-dax-go copied to clipboard

Mismatched antlr package dependency causing ambiguous imports

Open WingGithub opened this issue 3 years ago • 2 comments

The go.mod antlr entry should be updated to github.com/antlr/antlr4/runtime/Go/antlr so it matches the imports in dax/internal/parser/expression.go as it is causing ambiguous imports in code that uses the aws-dax-go library.

WingGithub avatar Oct 06 '21 14:10 WingGithub

I am seeing this as well. Her is the error I get from go mod tidy

	github.com/aws/aws-dax-go/dax imports
	github.com/aws/aws-dax-go/dax/internal/client imports
	github.com/aws/aws-dax-go/dax/internal/parser imports
	github.com/antlr/antlr4/runtime/Go/antlr: ambiguous import: found package github.com/antlr/antlr4/runtime/Go/antlr in multiple modules:
	github.com/antlr/antlr4 v0.0.0-20181218183524-be58ebffde8e (C:\Users\X\go\pkg\mod\github.com\antlr\[email protected]\runtime\Go\antlr)
	github.com/antlr/antlr4/runtime/Go/antlr v0.0.0-20210826220005-b48c857c3a0e (C:\Users\X\go\pkg\mod\github.com\antlr\antlr4\runtime\!go\[email protected])

cep21 avatar Jan 07 '22 19:01 cep21

Any updates on this task?

cep21 avatar Jan 07 '22 21:01 cep21