-
Notifications
You must be signed in to change notification settings - Fork 123
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
Fix #568: recognize provided expressions #620
Conversation
Still not correct for use with FSharp.Data+WebSharper 4, adding more tests |
@Jand42 Wow, impressive I need to look very closely at the changes in tast.fs and TastOps.fs - if there are any changes there that you think are unnecessary then taking them out would simplify accepting this One compilation problem:
|
@dsyme Probably all changes in tast.fs and TastOps.fs can be reverted. I am adding more tests to gather and print all method signatures, not just the shape of the expression, I have already found some mistakes. |
@dsyme I have reverted every change to tast.fs and TastOps.fs, they were not needed. Added a printer for method reference signatures, and tests with it. One limitation remains, that if overloads are created with using the same name in |
Oh that/s great, makes it much easier. There's still a failure in CI build
|
None | ||
|
||
// Otherwise try to bind it to an F# symbol | ||
match try1 with |
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.
Could you extract this large expression out to a separate helper function please, outside the big let rec
? Along the lines of bindILMethodRefToSymbol
in the previous code. Thanks
Still seeing the following fail for .NET Core:
|
I have disabled runnint TP tests on .NET core for now. Added some tests and fixes for accessing module members and I have looked into separating whole |
OK. Great work. Do you think this is now ready to merge? |
I will do some testing with it today on FSharp.Data+WebSharper 4, will report back. |
Everything worked ok (building full WebSharper 4 stack, testing try.websharper), I hope to release all very soon |
Struct records
6.0.2 released. Awesome job fixing this!!! |
Expression API recognizes many calls generated by type providers that previously thrown an exception.
Changes included:
TyparRigidity.Unresolved
to notate type parameters with unknown type constraints. These are ignored when doing signature comparison checksOne TP test method
ChoiceConstructionAndMatch
fails during F# type checking, union generated subclass fails to resolve to F# symbol, this test is currently commented out