Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 268960

Summary: @var comment makes syntax error
Product: z_Archived Reporter: Yuri <yurik.m>
Component: PDTAssignee: Michael Spector <spektom>
Status: CLOSED DUPLICATE QA Contact: Sylvia Tancheva <silviya>
Severity: normal    
Priority: P3 CC: gadi, ganoro
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:

Description Yuri CLA 2009-03-17 08:34:15 EDT
Build ID: I20081211-1908

Steps To Reproduce:
<?php

class Test {
}

if(true) {
	$a = new Test();
	/* @var $a Test */
} // <- syntax error, unexpected '}'


More information:
Comment 1 Roy Ganor CLA 2009-08-28 09:48:21 EDT

*** This bug has been marked as a duplicate of bug 284749 ***
Comment 2 Gadi Goldbarg CLA 2010-01-26 08:33:32 EST
Closing (fixed + duplicate).
[Sylvia Tancheva]