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:
@@ -234,7 +234,7 @@ pub fn (mut a array) delete_last() {
|
||||
}
|
||||
|
||||
[unsafe]
|
||||
pub fn (a array) free() {
|
||||
pub fn (a &array) free() {
|
||||
}
|
||||
|
||||
// todo: once (a []byte) will work rewrite this
|
||||
|
Reference in New Issue
Block a user