Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
felipensp committed Oct 5, 2024
1 parent 0c44376 commit 9b17ed1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions vlib/v/tests/structs/struct_array_generic_field_test.v
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ fn (mut o Obv[T]) set(new_value T) T {
return o.v
}

fn oo2[T](init T) ?Obv[T] {
return none
}

fn oo[T](init T) Obv[T] {
return Obv[T]{
v: init
Expand Down

0 comments on commit 9b17ed1

Please sign in to comment.