-
Notifications
You must be signed in to change notification settings - Fork 310
Improve reflection support #2085
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
Comments
Did this make it to Fable 3 in the end? |
No unfortunately it didn't. I realized that my original idea of having something like |
As suggested by @fable-compiler on twitter, I was able to find work arounds using a mix of dynamic code and inline functions. While the dynamic code is more brittle, it's quite contained and can be made somewhat safe with tests. I find the |
Closing as this didn't make it into Fable 3 at the end. There are a few other issues still open about increasing reflection support in specific situations. We can try to deal with them in a case-by-case basis. |
It'd be great to improve reflection support for Fable 3. We can do it by bringing the reflection changes in #1839, but if possible I'd like to have these changes:
The
Replacements
module would replace calls to these methods with the necessary info inline, so we only generate the code where is needed.What do you think @krauthaufen? Do the changes look good? Would you like to help with this? (If you want to sart working, please note we'll be using the
next
branch for Fable 3 development).The text was updated successfully, but these errors were encountered: