Uh oh!
There was an error while loading. Please reload this page.
Fix #17797 -- Realsig+ generates nested closures with incorrect Generic arguments - #17877
Conversation
❗ Release notes required
|
35a8aad to
a7eeda8Comparebb06ffa to
1d562efComparee13abad to
ef80877CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
T-Gro
commented
Nov 26, 2024
My review is finished, but let's wait for the ilverify for realsig as a CI step as well. |
…is/SymbolicOperators.fs Yeah the comments are pointless. Co-authored-by: Tomas Grosup <tomasgrosup@microsoft.com>
KevinRansom
left a comment
There was a problem hiding this comment.
I will make these changes, they are good suggestions.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
psfinaki
left a comment
There was a problem hiding this comment.
Can't find anything suspicious here, well tested IMO.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Petr <psfinaki@users.noreply.github.com>
When realsig+ is specified we generate closures as nested classes rather than classes at the same level as the class that the closures are for. This eliminates the need for members of the class to be internal allowing us to make the members private to reflect their source visibility.
Issue 17797 occurs because the closures were generated without the generic parameters. This fix addresses that by getting the generic parameters from the argument/typar environment.