@@ -515,8 +515,6 @@ func convertASTValue(f *ast.FileNode, v ast.ValueNode) ast2.ValueNode {
515515 return convertASTCompoundStringLiteral (f , v )
516516 case * ast.UintLiteralNode :
517517 return convertASTUintLiteral (f , v )
518- case * ast.PositiveUintLiteralNode :
519- return convertASTPositiveUintLiteral (f , v )
520518 case * ast.NegativeIntLiteralNode :
521519 return convertASTNegativeIntLiteral (f , v )
522520 case * ast.FloatLiteralNode :
@@ -593,8 +591,6 @@ func convertASTInt(f *ast.FileNode, n ast.IntValueNode) ast2.IntValueNode {
593591 switch n := n .(type ) {
594592 case * ast.UintLiteralNode :
595593 return convertASTUintLiteral (f , n )
596- case * ast.PositiveUintLiteralNode :
597- return convertASTPositiveUintLiteral (f , n )
598594 case * ast.NegativeIntLiteralNode :
599595 return convertASTNegativeIntLiteral (f , n )
600596 default :
@@ -606,10 +602,6 @@ func convertASTUintLiteral(f *ast.FileNode, n *ast.UintLiteralNode) *ast2.UintLi
606602 return ast2 .NewUintLiteralNode (n .Val , convertASTTokenInfo (f , n .Token ()))
607603}
608604
609- func convertASTPositiveUintLiteral (f * ast.FileNode , n * ast.PositiveUintLiteralNode ) * ast2.PositiveUintLiteralNode {
610- return ast2 .NewPositiveUintLiteralNode (convertASTRune (f , n .Plus ), convertASTUintLiteral (f , n .Uint ))
611- }
612-
613605func convertASTNegativeIntLiteral (f * ast.FileNode , n * ast.NegativeIntLiteralNode ) * ast2.NegativeIntLiteralNode {
614606 return ast2 .NewNegativeIntLiteralNode (convertASTRune (f , n .Minus ), convertASTUintLiteral (f , n .Uint ))
615607}
0 commit comments