@ -25,7 +25,7 @@ function trim_trailing_whitespace(ctx::Context, node::Node)
@@ -25,7 +25,7 @@ function trim_trailing_whitespace(ctx::Context, node::Node)
nb=replace_bytes!(ctx,str′,span(node))
@assertnb!=span(node)
# Create new node and return it
node′=Node(head(node),nb,())
node′=Node(head(node),nb)
returnnode′
end
@ -50,7 +50,7 @@ function format_hex_literals(ctx::Context, node::Node)
@@ -50,7 +50,7 @@ function format_hex_literals(ctx::Context, node::Node)
nb=replace_bytes!(ctx,bytes,spn)
@assertnb==length(bytes)==target_spans[i]
# Create new node and return it
node′=Node(head(node),nb,())
node′=Node(head(node),nb)
returnnode′
end
@ -88,7 +88,7 @@ function format_oct_literals(ctx::Context, node::Node)
@@ -88,7 +88,7 @@ function format_oct_literals(ctx::Context, node::Node)
nb=replace_bytes!(ctx,bytes,spn)
@assertnb==length(bytes)==target_span
# Create new node and return it
node′=Node(head(node),nb,())
node′=Node(head(node),nb)
returnnode′
end
@ -145,7 +145,7 @@ function format_float_literals(ctx::Context, node::Node)
@@ -145,7 +145,7 @@ function format_float_literals(ctx::Context, node::Node)
nb=replace_bytes!(ctx,bytes,span(node))
@assertnb==length(bytes)
# Create new node and return it
node′=Node(head(node),nb,())
node′=Node(head(node),nb)
returnnode′
end
@ -160,7 +160,7 @@ function spaces_around_x(ctx::Context, node::Node, is_x::F) where F
@@ -160,7 +160,7 @@ function spaces_around_x(ctx::Context, node::Node, is_x::F) where F