mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
v.checker: add checks for .free()
methods
This commit is contained in:
@ -140,7 +140,7 @@ pub fn (s string) find_between(start string, end string) string {
|
||||
}
|
||||
|
||||
// unnecessary in the JS backend, implemented for api parity.
|
||||
pub fn (s string) free() {}
|
||||
pub fn (s &string) free() {}
|
||||
|
||||
pub fn (s string) hash() int {
|
||||
mut h := u32(0)
|
||||
|
Reference in New Issue
Block a user