v.checker: add checks for .free() methods

This commit is contained in:
Delyan Angelov 2021-09-09 09:15:21 +03:00
parent 72089c4feb
commit 4faa0f8487
No known key found for this signature in database
GPG key ID: 66886C0F12D595ED
6 changed files with 68 additions and 12 deletions

View file

@ -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