Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
felipensp committed Oct 17, 2024
1 parent 81830d2 commit 09dede5
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions vlib/v/checker/tests/qsort_external_variable_err.out
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
vlib/v/checker/tests/qsort_external_variable_err.vv:8:22: error: can not access external variable `i`
6 | unsafe{array.sort(a[0]>b[0])}
7 | println(array)
8 | unsafe{array.sort(a[i]<b[i])}
| ^
9 | println(array)
10 | }
vlib/v/checker/tests/qsort_external_variable_err.vv:7:24: error: can not access external variable `i`
5 | unsafe { array.sort(a[0] > b[0]) }
6 | println(array)
7 | unsafe { array.sort(a[i] < b[i]) }
| ^
8 | println(array)
9 | }

0 comments on commit 09dede5

Please sign in to comment.