mirror of
https://github.com/vlang/v.git
synced 2025-09-24 04:48:28 -04:00
tmp fix generic test
This commit is contained in:
parent
0502a54a36
commit
59b3fc75d0
@ -705,7 +705,7 @@ fn (p mut Parser) check_types2(got_, expected_ string, throw bool) bool {
|
|||||||
if got.starts_with('fn ') && (expected.ends_with('fn') || expected.ends_with('Fn')) {
|
if got.starts_with('fn ') && (expected.ends_with('fn') || expected.ends_with('Fn')) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
if got.starts_with('fn ') && expected.starts_with('fn ') {
|
if got.starts_with('fn ') && expected.starts_with('fn ') && p.mod == 'gg2' {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
// Allow pointer arithmetic
|
// Allow pointer arithmetic
|
||||||
|
Loading…
x
Reference in New Issue
Block a user