-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Add debug-only use of new AssemblyBuilder.Save in Regex.CompileToAssembly #96462
Conversation
Tagging subscribers to this area: @dotnet/area-system-text-regularexpressions Issue DetailsTo aid in debugging RegexCompiler issues and to help vet the new AssemblyBuilder.Save support. This brings back and then tweaks code that was removed in #59734.
|
...raries/System.Text.RegularExpressions/tests/FunctionalTests/Regex.CompileToAssembly.Tests.cs
Outdated
Show resolved
Hide resolved
@buyaa-n, the build is failing with:
Have you seen these? |
8ce3b15
to
9b98a60
Compare
@buyaa-n, I fixed the invalid code gen, but now I'm hitting this:
Is there something related to generics that's not yet implemented maybe? |
No, never seen those and removing those suppressions locally causing still build failure:
|
No generics should have covered completely, no known issue (yet), wonder how that happen, more logs could be helpful |
I opened #96469 for the span issue. |
Now I do see the warnings with your branch, but weirdly removing those suppressions reintroduces the IL2075 warning back (not the IL2072)
Thanks, I will fix it ASAP |
9b98a60
to
300ac46
Compare
300ac46
to
c4c7ce2
Compare
…mbly To aid in debugging RegexCompiler issues and to help vet the new AssemblyBuilder.Save support.
c4c7ce2
to
6aadb60
Compare
Thanks. |
@buyaa-n, can you take another look? |
...raries/System.Text.RegularExpressions/tests/FunctionalTests/Regex.CompileToAssembly.Tests.cs
Show resolved
Hide resolved
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.
Looks great to me, thanks for using new AssemblyBuilder implementation.
…mbly (dotnet#96462) * Add debug-only use of new AssemblyBuilder.Save in Regex.CompileToAssembly To aid in debugging RegexCompiler issues and to help vet the new AssemblyBuilder.Save support. * Fix IL2121 warnings --------- Co-authored-by: Sven Boemer <sbomer@gmail.com>
To aid in debugging RegexCompiler issues and to help vet the new AssemblyBuilder.Save support.
This brings back and then tweaks code that was removed in #59734.