Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Go target, ErrorStrategy, broken interface #2528
while playing with Go and ANTLR, I stumbled across the ErrorStrategy interface in runtime/Go/antlr/error_strategy.go:
This "interface" defines two private (not package-exportable) methods. Hence it is impossible for any other Go package to satisfy this interface and provide an other implementation.
Is there any chance to rewrite the Go target that way, that either the "private" methods are dropped from the ErrorStrategy interface or made public by writing their names in uppercase letters?