Re: Phix type check bug

new topic     » goto parent     » topic index » view thread      » older message » newer message

Ah, I think I might have spotted it (spaces added to align things):

xecronix said...
public function add_var(           t_scope scope, sequence file_name, sequence name, t_ast_token token, name_space = "" ) 
function add_sysmap(integer mapid, t_scope scope, sequence file_name, sequence name, t_ast_token token, name_space = "" ) 

Phix allows omission of repeated consecutive parameter types (docs), so you could have said "..., sequence filename, name, ..." to the same effect.
It also means that name_space is implicitly of type t_ast_token, which I strongly suspect is not at all what you wanted.

HTH

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu