-
Notifications
You must be signed in to change notification settings - Fork 4
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
Self
not supported in fallible builders (as return type of constructor)
#28
Comments
d4h0
changed the title
May 2, 2022
Self
not supported in failable builders (as return type of constructor)Self
not supported in fallible builders (as return type of constructor)
Hi. I'll get round to this in the next couple of weeks. Not sure what can be done about error messages, the generated code is not pleasant, and only testing and time is going to surface issues. Hopefully I'll get some time to improve things over the coming months. |
Sounds good. Thank you, @BrynCooke. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
First of all, thanks for building
buildstructor
!I like the chosen approach quite a lot.
I noticed, that the
Self
type alias isn't supported, when defining a fallible builder:The resulting error is as follows:
...which is a bit confusing, to be honest... ;)
The text was updated successfully, but these errors were encountered: