This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
<? interface If1 { public function testIf1(); } interface If2 { public function testIf2(); } class TestClass { /** * @var If1|If2 */ public $_testObject; } $test = new TestClass(); $test->_testObject->| ?>
works in 6.7, not in 6.8 => REGRESSION caused by: http://hg.netbeans.org/web-main/rev/f7d4cd51aa63
Even this simpler case doesn't work: <? class I { public function test(); } class TestBaseClass { /** * @var I */ public $_testObject; } class TestClass extends TestBaseClass {} $test = new TestClass(); $test->_testObject-> ?>
Add unit test! Although regression no test failed
http://hg.netbeans.org/web-main/rev/9f7f341e4dbb
Integrated into 'main-golden', will be available in build *200909230201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/9f7f341e4dbb User: Radek Matous <rmatous@netbeans.org> Log: #166339 wrong CC for @var tag to document mixed type of class variables