diff --git a/src/go/constant/value.go b/src/go/constant/value.go index af482856da..08bcb3bf87 100644 --- a/src/go/constant/value.go +++ b/src/go/constant/value.go @@ -383,9 +383,6 @@ func MakeFromLiteral(lit string, tok token.Token, zero uint) Value { switch tok { case token.INT: - if len(lit) >= 2 && lit[0] == '0' && (lit[1] == 'o' || lit[1] == 'O') { - lit = "0" + lit[2:] - } if x, err := strconv.ParseInt(lit, 0, 64); err == nil { return int64Val(x) }