Skip to content

Commit

Permalink
fixup interface_test.v after rebasing over master
Browse files Browse the repository at this point in the history
  • Loading branch information
spytheman committed Sep 4, 2024
1 parent 7bc822d commit b0a9534
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vlib/v/tests/interfaces/interface_test.v
Original file line number Diff line number Diff line change
Expand Up @@ -475,11 +475,11 @@ fn (e CustomError) print_error() {
}

fn handle_implements(e MyError) {
// e.print_error()
e.print_error()
}

fn test_implements() {
// e := CustomError{}
// handle_implements(e)
e := CustomError{}
handle_implements(e)
println('implements ok')
}

0 comments on commit b0a9534

Please sign in to comment.