-
Notifications
You must be signed in to change notification settings - Fork 18
Add support for interface and record function results #5
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
Add support for interface and record function results #5
Conversation
…d when reading interface type fields or properties
Can you please describe a use case or even better a unit test? |
Without these changes, while P4D does contain support for interfaces and records, it did not support them as parameters or result values for function calls. Also, while it supported records, it did not support managed records. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No response from OP.
Rejecting PR.
Ok, we're going to try and merge this and get the P4D team to write some tests for it. |
Tag @lmbelo to resolve conflicts on PR |
This change allows functions returning an interface or record to work.