mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-12-02 17:17:31 -06:00
fixes lint errors
This commit is contained in:
@@ -105,9 +105,9 @@ function compileFPC(info, env) {
|
||||
if (signature != "") {
|
||||
for (idx = 1; idx < signature.length; idx++) {
|
||||
if (signature[idx] == '$') {
|
||||
if (phase == 0) phase = 1
|
||||
if (phase == 0) phase = 1;
|
||||
else if (phase == 1) {
|
||||
if (paramtype == "") phase = 2
|
||||
if (paramtype == "") phase = 2;
|
||||
else if (params != "") {
|
||||
params = params + "," + paramtype;
|
||||
paramtype = "";
|
||||
@@ -117,14 +117,14 @@ function compileFPC(info, env) {
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (phase == 0) methodname = methodname + signature[idx]
|
||||
else if (phase == 1) paramtype = paramtype + signature[idx]
|
||||
if (phase == 0) methodname = methodname + signature[idx];
|
||||
else if (phase == 1) paramtype = paramtype + signature[idx];
|
||||
else if (phase == 2) resulttype = resulttype + signature[idx];
|
||||
}
|
||||
}
|
||||
|
||||
if (paramtype != "") {
|
||||
if (params != "") params = params + "," + paramtype
|
||||
if (params != "") params = params + "," + paramtype;
|
||||
else params = paramtype;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user