We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ef22fc commit 0f47626Copy full SHA for 0f47626
liquidjava-verifier/src/main/java/liquidjava/rj_language/opt/VariableResolver.java
@@ -11,9 +11,6 @@
11
12
public class VariableResolver {
13
14
- private static final String RET_PREFIX = "#ret_";
15
- private static final String FRESH_PREFIX = "#fresh_";
16
-
17
/**
18
* Extracts variables with constant values from an expression
19
*
@@ -161,10 +158,10 @@ private static int getCounter(Var var) {
161
158
}
162
159
163
160
private static boolean isReturnVar(Var var) {
164
- return var.getName().startsWith(RET_PREFIX);
+ return var.getName().startsWith("#ret_");
165
166
167
private static boolean isFreshVar(Var var) {
168
- return var.getName().startsWith(FRESH_PREFIX);
+ return var.getName().startsWith("#fresh_");
169
170
0 commit comments