Closed GoogleCodeExporter closed 9 years ago
Sorry that trunk didnt work. I just fixed it, so see if it works now.
Original comment by paul.biggar
on 26 Oct 2010 at 1:22
Tested it again with r3395, same problem with the failed assertion.
Original comment by catapuit...@yahoo.de
on 29 Oct 2010 at 10:53
Ok, I've checked it out and reduced it and added it as bug0035.php. Should be
simple to fix.
Original comment by paul.biggar
on 29 Oct 2010 at 12:00
This is now fixed. What was happening was that shredding (converting the AST to
3-address code) has become very complicated. There was an annotation aimed at
expressions like $$a[0]. In our AST, this is very similar to $x->$y[0], where
the difference is that the latter has a target. Checking for a target fixed it.
BTW, phc doesn't yet support lots of the features in your code, such as magic
methods.
Does this fix the problem?
Original comment by paul.biggar
on 31 Oct 2010 at 11:53
Yes, thank you, seems to work now.
Original comment by catapuit...@yahoo.de
on 22 Nov 2010 at 10:14
Original comment by paul.biggar
on 22 Nov 2010 at 11:46
Original issue reported on code.google.com by
catapuit...@yahoo.de
on 26 Oct 2010 at 10:35Attachments: