mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 20:11:17 +00:00
MacOS uses regular stacktrace for errors.
This commit is contained in:
committed by
Christoffer Lerno
parent
c074e79069
commit
c4228e08c5
@@ -290,7 +290,7 @@ fn usz! String.rindex_of(s, String needle)
|
||||
|
||||
fn String ZString.as_str(str)
|
||||
{
|
||||
return (String)((char*)str)[:str.len()];
|
||||
return (String)(str[:str.len()]);
|
||||
}
|
||||
|
||||
fn usz ZString.char_len(str)
|
||||
|
||||
Reference in New Issue
Block a user