mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
checker: fix string.str() error
This commit is contained in:
parent
390d88f933
commit
1fabb7d5a6
@ -951,6 +951,10 @@ pub fn (s mut []string) sort_by_len() {
|
||||
s.sort_with_compare(compare_strings_by_len)
|
||||
}
|
||||
|
||||
pub fn (s string) str() string {
|
||||
return s
|
||||
}
|
||||
|
||||
pub fn (s ustring) str() string {
|
||||
return s.s
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user