Skip to content
Snippets Groups Projects
Commit fefb6408 authored by Jesper's avatar Jesper
Browse files

[cleanup] Replace string concatenation

parent 99f47200
No related branches found
No related tags found
No related merge requests found
......@@ -143,7 +143,8 @@ aspect Rewrites {
if (config().concurrentEval()) {
newValue = "_next";
oldValue = "_previous.value";
tt.bind("CircularComputeRhs", "((" + config().astNodeType() + ") " + decl.signature() + "_value.get()).rewriteTo()");
tt.bind("CircularComputeRhs", String.format("((%s) %s_value.get()).rewriteTo()",
config().astNodeType(), decl.signature()));
} else {
newValue = "new_" + decl.signature() + "_value";
oldValue = decl.signature() + "_value";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment