Skip to content

Commit 6565f13

Browse files
committed
gen: fix
1 parent 27604cf commit 6565f13

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

test/gen/gen.go

+14-14
Original file line numberDiff line numberDiff line change
@@ -150,21 +150,21 @@ func node(depth int) string {
150150
})(depth - 1)
151151
}
152152
return oneOf(list[fn]{
153-
//{sequenceNode, 1},
154-
//{variableNode, 1},
155-
//{arrayNode, 10},
156-
//{mapNode, 10},
157-
//{identifierNode, 1000},
158-
//{memberNode, 1500},
159-
//{unaryNode, 100},
160-
//{binaryNode, 2000},
161-
//{callNode, 2000},
162-
//{pipeNode, 1000},
163-
//{builtinNode, 500},
153+
{sequenceNode, 1},
154+
{variableNode, 1},
155+
{arrayNode, 10},
156+
{mapNode, 10},
157+
{identifierNode, 1000},
158+
{memberNode, 1500},
159+
{unaryNode, 100},
160+
{binaryNode, 2000},
161+
{callNode, 2000},
162+
{pipeNode, 1000},
163+
{builtinNode, 500},
164164
{predicateNode, 1000},
165-
//{pointerNode, 500},
166-
//{sliceNode, 100},
167-
//{conditionalNode, 100},
165+
{pointerNode, 500},
166+
{sliceNode, 100},
167+
{conditionalNode, 100},
168168
})(depth - 1)
169169
}
170170

0 commit comments

Comments
 (0)