You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.
Root cause of the NRE is "local variable name erasure" that happens
during closure cloning.
Fix preserves closure names for async contracts.
Related work items: microsoft#72, microsoft#69
Code contracts repo has a bunch of tests for async methods. Unfortunately, some of them are broken.
For instance, tests for
async6.cs
toasync9.cs
will fail because ccrewrite.exe will return -1.Here is a small repo for the issue:
Running ccrewrite on this class will fail with
NullReferenceException
at System.Compiler.Writer.cs line 1814.The text was updated successfully, but these errors were encountered: