We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ce4f95 commit bb2d605Copy full SHA for bb2d605
vlib/builtin/string_test.v
@@ -1612,7 +1612,7 @@ fn test_last_index() {
1612
assert 'Zabcabca'.last_index('Z')? == 0
1613
x := 'Zabcabca'.last_index('Y')
1614
assert x == none
1615
- // TODO: `assert 'Zabcabca'.index_last('Y') == none` is a cgen error, 2023/12/04
+ assert 'Zabcabca'.last_index('Y') == none
1616
}
1617
1618
fn test_last_index_u8() {
vlib/v/tests/comptime/comptime_kinds_test.v
@@ -194,6 +194,5 @@ fn test_kind_function() {
194
assert_function(test_kind_function)
195
assert_not_function(123)
196
assert_function('abc'.contains)
197
- i := 5
198
- assert_function(i.str) // TODO: 5.str currently leads to a cgen error
+ assert_function(5.str)
199
0 commit comments