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

all: fix a big mutability bug and update all mutable vars

This commit is contained in:
Alexander Medvednikov
2020-07-23 23:16:36 +02:00
parent fb41c6659a
commit 632e27a4a9
17 changed files with 78 additions and 69 deletions

View File

@ -123,7 +123,7 @@ fn print_backtrace_skipping_top_frames_linux(skipframes int) bool {
fn break_if_debugger_attached() {
unsafe {
ptr := &voidptr(0)
mut ptr := &voidptr(0)
*ptr = 0
}
}