Uh oh!
There was an error while loading. Please reload this page.
Type abbreviation mismatch extended data - #16811
Conversation
❗ Release notes required
|
nojaf
commented
Mar 5, 2024
@DedSec256 would be nice if you could review this PR as well. |
DedSec256
left a comment
There was a problem hiding this comment.
Thanks for the PR! :)
In general, LGTM, there are just few comments
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
nojaf
commented
Mar 5, 2024
Thanks for the review @DedSec256! |
psfinaki
commented
Mar 6, 2024
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
psfinaki
commented
Mar 8, 2024
Just to understand, what are the applicable scenarios here? From my experience (don't want to generalize), type abbreviations are often used for things like I mean I know that it was like this before, just curious if we can be even more specific in the diagnostics here. |
nojaf
commented
Mar 8, 2024
Basically any type alias: // sigtypeFoo= X
// impltypeFoo= YToday, we get a diagnostic that there is a mismatch ( To perform some code fix like: I can pull this off, but this PR makes it a lot more easy to do it. |
psfinaki
commented
Mar 8, 2024
nojaf
commented
Mar 8, 2024
The body is irrelevant in this case, so I'm not sure what other scenarios you feel are lacking. |
Uh oh!
There was an error while loading. Please reload this page.
…thub.com/nojaf/fsharp into type-abbreviation-mismatch-extended-data


Description
Similar to the extended data added in #15840 I want to know the location of the types (in sig/impl) when an abbreviation is mismatched.
I later want to create a quick fix to update the signature file when necessary:

Checklist
Test cases added
Performance benchmarks added in case of performance changes
Release notes entry updated: