mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
make private struct warning an error
This commit is contained in:
@@ -869,7 +869,7 @@ pub fn (s string) ustring() ustring {
|
||||
s: s
|
||||
// runes will have at least s.len elements, save reallocations
|
||||
// TODO use VLA for small strings?
|
||||
|
||||
|
||||
runes: new_array(0, s.len, sizeof(int))
|
||||
}
|
||||
for i := 0; i < s.len; i++ {
|
||||
|
||||
Reference in New Issue
Block a user