Skip to content

Commit 479b15f

Browse files
committed
modules: Use lowercase for native symbols
1 parent b5d0c4b commit 479b15f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/piccode/rt/modules/PiccodeProcModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
public class PiccodeProcModule {
2121
public static void addFunctions() {
2222

23-
NativeFunctionFactory.create("forEach", List.of("array", "func"), (args, namedArgs, frame) -> {
23+
NativeFunctionFactory.create("foreach", List.of("array", "func"), (args, namedArgs, frame) -> {
2424
var ctx = frame == null ?
2525
Context.top
2626
: Context.getContextAt(frame);

0 commit comments

Comments
 (0)