diff --git a/compiler/builtins/src/std.rs b/compiler/builtins/src/std.rs index d341647ae5..ad9f887957 100644 --- a/compiler/builtins/src/std.rs +++ b/compiler/builtins/src/std.rs @@ -496,7 +496,7 @@ pub fn types() -> MutMap { // Str.split : Str, Str -> List Str add_type( Symbol::STR_SPLIT, - SolvedType::Func( + top_level_function( vec![str_type(), str_type()], Box::new(list_type(str_type())), ),