-
-
Notifications
You must be signed in to change notification settings - Fork 468
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
Reflection isDefaultValueAvailable() method seems to not work as expected #1134
Comments
Yes, because default value, generate C code when method called. I think this error cannot be resolved. |
Jeckerson
added a commit
that referenced
this issue
Apr 20, 2021
…ULT_VALUE` When there is default value
Jeckerson
added a commit
that referenced
this issue
Apr 20, 2021
Jeckerson
added a commit
that referenced
this issue
Apr 20, 2021
3 tasks
Jeckerson
added a commit
that referenced
this issue
Apr 20, 2021
Jeckerson
added a commit
that referenced
this issue
Apr 20, 2021
Jeckerson
added a commit
that referenced
this issue
Apr 20, 2021
Jeckerson
added a commit
that referenced
this issue
Apr 20, 2021
AlexNDRmac
added a commit
that referenced
this issue
Apr 21, 2021
#1134 - Fix default value detection with `Reflection`
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
Problem :
the reflection method
isDefaultValueAvailable()
returnfalse
instead oftrue
Example to show the problem.
I have the following class in zephir :
code compile as expected but reflexion fail :
this code output :
Now, sample code in PHP to show what I'm really expecting
I have the following class in php
I test it with the same code
and I get what I'm expecting
Am'I doing something wrong in my zephir code ?
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: