Skip to content

Commit 2885a24

Browse files
committed
refer to function packs in an error message
1 parent ba02a46 commit 2885a24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compile.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -879,7 +879,7 @@ impl Uiua {
879879
return Err((modified.modifier.span.merge(span))
880880
.sp(format!(
881881
"{} requires {} function arguments, but the \
882-
switch function has {} branches",
882+
function pack has {} functions",
883883
modifier,
884884
modifier.args(),
885885
sw.branches.len()

0 commit comments

Comments
 (0)