Community
Participate
Working Groups
This bug was originaly reported on PDT forum [1] /* @var $variable MyClass[] */ /* @var $variable2 multitype:MyClass */ not work as expected [1] - https://www.eclipse.org/forums/index.php/t/787347/
I think it was resolved with https://bugs.eclipse.org/bugs/show_bug.cgi?id=442966
No, here is an example: <?php /* @var $x DateTime[] */ $x[1]->| // outside foreach foreach ($x as $y) { $y->| // inside }
It looks that comment '/* @var $x DateTime[] */' is parsed as normal comment. It is not recognized as VarComment. Probably parser related problem.
Patch proposal: https://git.eclipse.org/r/#/c/33350/
Merged: http://git.eclipse.org/c/pdt/org.eclipse.pdt.git/commit/?id=8616337a56b84c683f4c2db45061d50d863b0de7 Thank you Michał
Verified. Closing