Re: Phix type check bug
- Posted by xecronix 1 week ago
- 178 views
Maybe it's not a bug - in which case, I'll just say thank you for an awesome language. I'm really enjoying using Phix/Euphoria and learning more about it. If everything is working as intended, I definitely don't want any changes.
All the sprintf stuff was just me trying to leave myself a clue in the logs that the type check was being skipped. That way, if I run into a real issue downstream, I'll know where to start looking.
The potential bug I'm seeing is that the type check seems to be called twice - once as expected, and then a second time that I can't account for. Unfortunately, in that second call, the bonafide t_ast_token is zero.
Maybe I'll put together a quick video tomorrow. If you're interested in seeing what I see while stepping through the debugger, great. My goal is just to be helpful.