Skip to content

Support multi catch type exception handling #173

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
roblourens opened this issue Sep 12, 2017 · 2 comments
Closed

Support multi catch type exception handling #173

roblourens opened this issue Sep 12, 2017 · 2 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug

Comments

@roblourens
Copy link
Member

From felixfbecker/php-language-server#475

Testing with:

try {
//...
} catch (FirstException | SecondException $e) {
//...
}

got "Variable name expected" error. Looks like it uses old version of PHP.

http://php.net/manual/en/migration71.new-features.php#migration71.new-features.mulit-catch-exception-handling

@roblourens roblourens self-assigned this Sep 12, 2017
@roblourens roblourens added the bug Issue identified by VS Code Team member as probable bug label Sep 12, 2017
@nesl247
Copy link

nesl247 commented Sep 12, 2017

This is a duplicate of #103

@roblourens
Copy link
Member Author

Why did I not see that? I knew there was an issue. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests

2 participants