Skip to content

Commit a5269ae

Browse files
strcat() => string()
1 parent 05af2b8 commit a5269ae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/deparse.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ function deparse(ex::Expr)
44
else
55
if contains([:+, :-, :*, :/, :^], ex.args[1])
66
if length(ex.args) == 2
7-
return strcat(ex.args[1], deparse(ex.args[2]))
7+
return string(ex.args[1], deparse(ex.args[2]))
88
else
99
return join(map(x -> deparse(x), ex.args[2:end]),
10-
strcat(" ", string(ex.args[1]), " "))
10+
string(" ", string(ex.args[1]), " "))
1111
end
1212
else
13-
return strcat(ex.args[1],
13+
return string(ex.args[1],
1414
"(",
1515
join(map(x -> deparse(x), ex.args[2:end]), ", "),
1616
")")

0 commit comments

Comments
 (0)