diff --git a/runtime/Go/antlr/atn_config.go b/runtime/Go/antlr/atn_config.go index 1348b0e3d..4cf3d1a0b 100644 --- a/runtime/Go/antlr/atn_config.go +++ b/runtime/Go/antlr/atn_config.go @@ -37,8 +37,6 @@ type ATNConfig interface { getPrecedenceFilterSuppressed() bool setPrecedenceFilterSuppressed(bool) - - shortHash() string } type BaseATNConfig struct { @@ -169,10 +167,6 @@ func (b *BaseATNConfig) equals(o interface{}) bool { return nums && alts && cons && sups && equal } -func (b *BaseATNConfig) shortHash() string { - return strconv.Itoa(b.state.GetStateNumber()) + "/" + strconv.Itoa(b.alt) + "/" + b.semanticContext.String() -} - func (b *BaseATNConfig) HashCode() int { var c int if b.context != nil {