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

checker: no longer allow automatic dereferncing in a = b

This commit is contained in:
Alexander Medvednikov
2021-09-09 20:21:01 +03:00
parent d1e9aa49ea
commit ab3adf3346
11 changed files with 63 additions and 34 deletions

View File

@ -131,7 +131,7 @@ fn break_if_debugger_attached() {
unsafe {
mut ptr := &voidptr(0)
*ptr = voidptr(0)
_ = ptr
//_ = ptr
}
}