fn: fix & argument bug
parent
5e7d3c6aa9
commit
5ea1c538b6
|
@ -877,7 +877,9 @@ fn (p mut Parser) fn_call_args(f mut Fn) *Fn {
|
|||
// println('\ne:"$expected" got:"$got"')
|
||||
else if ! (expected == 'void*' && got == 'int') &&
|
||||
! (expected == 'byte*' && got.contains(']byte')) &&
|
||||
! (expected == 'byte*' && got == 'string') {
|
||||
! (expected == 'byte*' && got == 'string') &&
|
||||
//! (expected == 'void*' && got == 'array_int') {
|
||||
! (expected == 'byte*' && got == 'byteptr') {
|
||||
p.cgen.set_placeholder(ph, '& /*112 EXP:"$expected" GOT:"$got" */')
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue