5

Fix 7456, 3704, 12019 (debug scopes, self arg, incorrect information display on...

 2 years ago
source link: https://github.com/dotnet/fsharp/pull/12018
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Copy link

Contributor

dsyme commented 9 days ago

edited
  1. VS2019 had a regression where not all method local scopes were being emitted to the PDB #7456

  2. #12019

  3. We've long had a problem with shadowed bindings #3704. This fixes this by

    • duplicating out method local scopes where shadowing is happening as necessary
    • add the text " (shadowed)" to the name associated with a shadowed local for each nested scope where it is shadowed

    There is no change to IL, just the PDB

  4. Fix #12029

An example is shown below. Note the variable name in the locals window, and not that the hover-tip now gives the correct result.

Fix for #1 demonstrated:

Fix for #2 demonstrated:

Fix for #3 demonstrated:

Fix for #4 demonstrated:


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK