| 1 | vlib/v/checker/tests/fn_signature_alias_payload_mismatch_err.vv:19:7: error: casting a function value from one function signature, to another function signature, should be done inside `unsafe{}` blocks |
| 2 | 17 | // Without `unsafe`, this must error: `fn () ![]Token` is *not* assignable |
| 3 | 18 | // to `fn () !Tokens` even though the payloads have the same layout. |
| 4 | 19 | _ := ReturnsTokens(returns_array_of_token) |
| 5 | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 6 | 20 | } |
| 7 |