Skip to content

Commit 9b1746b

Browse files
committed
Upgrade to go 1.21, replace golang.org/x/exp/slices with slices
Signed-off-by: Tiscs <[email protected]>
1 parent 811b7fd commit 9b1746b

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

runtime/Go/antlr/v4/go.mod

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
module github.com/antlr4-go/antlr/v4
22

3-
go 1.20
4-
5-
require golang.org/x/exp v0.0.0-20230515195305-f3d0a9c9a5cc
3+
go 1.21

runtime/Go/antlr/v4/go.sum

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +0,0 @@
1-
golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e h1:+WEEuIdZHnUeJJmEUjyYC2gfUMj69yZXw17EnHg/otA=
2-
golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e/go.mod h1:Kr81I6Kryrl9sr8s2FK3vxD90NdsKWRuOIl2O4CvYbA=
3-
golang.org/x/exp v0.0.0-20230515195305-f3d0a9c9a5cc h1:mCRnTeVUjcrhlRmO0VK8a6k6Rrf6TF9htwo2pJVSjIU=
4-
golang.org/x/exp v0.0.0-20230515195305-f3d0a9c9a5cc/go.mod h1:V1LtkGg67GoY2N1AnLN78QLrzxkLyJw7RJb1gzOOz9w=

runtime/Go/antlr/v4/lexer_action_executor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
package antlr
66

7-
import "golang.org/x/exp/slices"
7+
import "slices"
88

99
// Represents an executor for a sequence of lexer actions which traversed during
1010
// the Matching operation of a lexer rule (token).

0 commit comments

Comments
 (0)