From c0e5c295b660b88a7da51365979a7965fe7929af Mon Sep 17 00:00:00 2001 From: Chad Stearns Date: Sun, 18 Oct 2020 21:11:10 -0400 Subject: [PATCH] Fixed Str.split definition in std --- compiler/builtins/src/std.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())), ),