cgen: fix shared array slice #9076
Annotations
10 errors and 2 warnings
|
Self tests:
vlib/v/checker/tests/shared_element_lock.vv#L36
`pr.pe` is `shared` and needs explicit lock for `v.ast.SelectorExpr`
|
Self tests:
vlib/v/checker/tests/shared_element_lock.vv#L42
`g` is `shared` and needs explicit lock for `v.ast.SelectorExpr`
|
Self tests:
vlib/v/checker/tests/shared_element_lock.vv#L44
you have to create a handle and `lock` it to modify `shared` array element
|
Self tests:
vlib/v/checker/tests/shared_element_lock.vv#L45
you have to create a handle and `rlock` it to use a `shared` element as non-mut argument to print
|
Self tests:
vlib/v/checker/tests/shared_element_lock.vv#L36
`pr.pe` is `shared` and needs explicit lock for `v.ast.SelectorExpr`
|
Self tests:
vlib/v/checker/tests/shared_element_lock.vv#L42
`g` is `shared` and needs explicit lock for `v.ast.SelectorExpr`
|
Self tests:
vlib/v/checker/tests/shared_element_lock.vv#L44
you have to create a handle and `lock` it to modify `shared` array element
|
Self tests
you have to create a handle and `rlock` it to use a `shared` element as non-mut argument to print
|
Self tests
The operation was canceled.
|
Self tests:
vlib/v/checker/tests/shared_element_lock.vv#L43
arrays of references need to be initialized right away, therefore `len:` cannot be used (unless inside `unsafe`, or if you also use `init:`)
|
Self tests:
vlib/v/checker/tests/shared_element_lock.vv#L43
arrays of references need to be initialized right away, therefore `len:` cannot be used (unless inside `unsafe`, or if you also use `init:`)
|
Loading