-
-
Notifications
You must be signed in to change notification settings - Fork 466
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
Fatal error at compilation when an extended/implemented class does not exist #1062
Comments
…ir-lang#1062 Generally runtime class definitions have several problems: - interface validation of implemented methods is not possible - eventually problems regarding ctor's/default property values - eventual problems with method calls that depend on type information
Could you try using the development branch? |
I've just stumbled upon the same issue today, updated to the development branch and now compilation succeeds! |
Using the dev branch throw an exception.
|
@lajosbencz : Could you please submit a sample of your code ? |
It's probably a simpler case only depending on class extension, I think with interface extension you have the problem, that if it can't be evaluated on Generally it is advisable, to make sure classes / interface implementations |
@steffengy : God point, the case happen on direct translation a package with php-to-zephir with a suggested package, i do have to ignore this class. Thanks ! |
Hi,
I have this error
I've found the errored line in 0.7.1
https://github.com/phalcon/zephir/blob/182c87d35201a8d4cb4c44c27955f325a1f73b43/Library/CompilerFile.php#L755
https://github.com/phalcon/zephir/blob/182c87d35201a8d4cb4c44c27955f325a1f73b43/Library/CompilerFile.php#L722
You can see the error in my travis build :
The text was updated successfully, but these errors were encountered: