-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Throwable interface problems in namespaces #6747
Comments
So RuntimeException does implement Throwable.
Also an issue, but probably much less important. |
heh, that's pretty bad D: we need to not auto-import it into the current namespace (like we do for hack stuff), but actually alias it. |
@fredemmott cleaned my comments up a bit, you can delete your first one as well, to keep the topic brief. |
Keeping it in, the Throwable::class vs 'Throwable' vs \Throwable could be useful for whoever works on this. |
|
test.php:
It seems HHVM does not recognise Throwable inside a namespace. Since this is a class in __SystemLib, I'm worried this might be an issue with other classes there.
The text was updated successfully, but these errors were encountered: