Commit 8f805f5
authored
Fix compile error in circular buffer (exercism#280)
Fixes the following compiler error due to a recent change in V:
Error: temp/circular_buffer.v:20:20: error: cannot prepend `T` to `[]T`
18 | return error('Buffer is full')
19 | }
20 | b.content.prepend(value)
| ~~~~~
21 | }
22 |
Error: temp/circular_buffer.v:36:20: error: cannot prepend `T` to `[]T`
34 | }
35 |
36 | b.content.prepend(value)
| ~~~~~
37 | }
38 |
checker summary: 2 V errors, 0 V warnings, 0 V notices
Resolves exercism#277.1 parent 400f30a commit 8f805f5
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
0 commit comments