Bug 501654 - Invalid syntax error for use statement
Summary: Invalid syntax error for use statement
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: PHP Core CLA
QA Contact: Sylvia Tancheva CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-18 07:02 EDT by Michal Niewrzal CLA
Modified: 2020-05-14 11:25 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Niewrzal CLA 2016-09-18 07:02:07 EDT
Such code:
<?php
use \LanguageServer\Protocol\{Diagnostic, Range, Position, SymbolKind};

Produces syntax error "syntax error, unexpected '{', expecting 'identifier'", but from php -l reports nothing.
Comment 1 Eclipse Genie CLA 2019-04-30 14:41:42 EDT
New Gerrit change created: https://git.eclipse.org/r/141426
Comment 3 Thierry BLIND CLA 2019-05-02 10:21:02 EDT
Fixed.
Comment 4 Thierry BLIND CLA 2019-05-02 10:21:48 EDT
Fixed.