Commit adfe452
committed
Fix procedure as argument in sprintf() and lsprintf() not resolving
Fix procedure as second and third argument in `sprintf()` and `lsprintf()` respectively causing a compile error when trying to resolve the procedure during optimization.
Fixes:
```
:proc _a() { return 123; } msg(sprintf('%x', _a()));
COMPILE ERROR: The function "_a" does not exist in the Java Interpreter
at :Interpreter:1.45
```1 parent e8efb5c commit adfe452
File tree
1 file changed
+1
-0
lines changed- src/main/java/com/laytonsmith/core/functions
1 file changed
+1
-0
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1623 | 1623 | | |
1624 | 1624 | | |
1625 | 1625 | | |
| 1626 | + | |
1626 | 1627 | | |
1627 | 1628 | | |
1628 | 1629 | | |
| |||
0 commit comments