Skip to content

Commit 0f47626

Browse files
committed
Minor Change
1 parent 1ef22fc commit 0f47626

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

liquidjava-verifier/src/main/java/liquidjava/rj_language/opt/VariableResolver.java

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@
1111

1212
public class VariableResolver {
1313

14-
private static final String RET_PREFIX = "#ret_";
15-
private static final String FRESH_PREFIX = "#fresh_";
16-
1714
/**
1815
* Extracts variables with constant values from an expression
1916
*
@@ -161,10 +158,10 @@ private static int getCounter(Var var) {
161158
}
162159

163160
private static boolean isReturnVar(Var var) {
164-
return var.getName().startsWith(RET_PREFIX);
161+
return var.getName().startsWith("#ret_");
165162
}
166163

167164
private static boolean isFreshVar(Var var) {
168-
return var.getName().startsWith(FRESH_PREFIX);
165+
return var.getName().startsWith("#fresh_");
169166
}
170167
}

0 commit comments

Comments
 (0)