1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

checker: unsafe 0 for references (default value)

This commit is contained in:
Alexander Medvednikov
2022-06-26 06:40:40 +03:00
parent 546f9a544f
commit e76f74fd73
12 changed files with 28 additions and 22 deletions

View File

@@ -8,7 +8,7 @@ pub struct Transformer {
pref &pref.Preferences
pub mut:
index &IndexState
table &ast.Table = 0
table &ast.Table = unsafe { 0 }
mut:
is_assert bool
}