Re: Phix type check bug
- Posted by petelomax 3 weeks ago
- 202 views
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