diff --git a/lib/std/core/str.c3 b/lib/std/core/str.c3 index c12d2ae75..7e99ec541 100644 --- a/lib/std/core/str.c3 +++ b/lib/std/core/str.c3 @@ -306,7 +306,7 @@ fn String utf32to8(Char32[] utf32, Allocator* allocator = mem::current_allocator return data[:len]; } -fn Char16[]! utf8to16(String utf8, Allocator* allocator = mem::current_allocator) +fn Char16[]! utf8to16(String utf8, Allocator* allocator = mem::current_allocator()) { usz len16 = conv::utf16len_for_utf8(utf8); Char16* data = allocator.alloc((len16 + 1) * Char16.sizeof)?; diff --git a/src/version.h b/src/version.h index e1c4d1944..43cf87680 100644 --- a/src/version.h +++ b/src/version.h @@ -1 +1 @@ -#define COMPILER_VERSION "0.4.19" \ No newline at end of file +#define COMPILER_VERSION "0.4.20" \ No newline at end of file