Fix build error in kym::default_stringify

This commit is contained in:
kayomn 2023-02-19 16:44:16 +00:00
parent a4e6854623
commit be0527dac8
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ export namespace kym {
}
core::expected<core::usize, core::io_error> default_stringify(vm & owning_vm, void * userdata, core::writable const & output) {
return output(core::slice("[object]").as_bytes());
return output(core::slice{"[object]"}.as_bytes());
}
struct bound_object {