Skip to content

Unskip NestedCatch_DuplicateLocal_NoAwaitInNestedCatch #132017

Description

@JoeRobich

In the move from running against .NET 10 to .NET 11 preview, the following async runtime test failure was encountered:

CodeGenAsyncEHTests.NestedCatch_DuplicateLocal_NoAwaitInNestedCatch(awaitInTry2: True)

Expected:
F: M1-catch1
F: M1-catch2
M2: M1-catch2-catch M1
--- catch first ---
F: M1-catch1
M2: M1-catch1 M1
Actual:
F: M1-catch1
F: M1-catch2
--- catch first ---
F: M1-catch1
M2: M1-catch1 M1



Stack trace
   at Roslyn.Test.Utilities.AssertEx.Equal(String expected, String actual) in /_/src/Compilers/Test/Core/Assert/AssertEx.cs:line 219
   at Microsoft.CodeAnalysis.Test.Utilities.CompilationVerifier.EmitAndVerify(String expectedOutput, Boolean trimOutput, Nullable`1 expectedReturnCode, String[] args, IEnumerable`1 manifestResources, EmitOptions emitOptions, Verification peVerify, SignatureDescription[] expectedSignatures) in /_/src/Compilers/Test/Core/CompilationVerifier.cs:line 400
   at Microsoft.CodeAnalysis.Test.Utilities.CommonTestBase.Emit(Compilation compilation, IEnumerable`1 dependencies, IEnumerable`1 manifestResources, SignatureDescription[] expectedSignatures, String expectedOutput, Boolean trimOutput, Nullable`1 expectedReturnCode, String[] args, Action`1 assemblyValidator, Action`1 symbolValidator, EmitOptions emitOptions, Verification verify) in /_/src/Compilers/Test/Core/CommonTestBase.cs:line 190
   at Microsoft.CodeAnalysis.Test.Utilities.CommonTestBase.CompileAndVerifyCommon(Compilation compilation, IEnumerable`1 manifestResources, IEnumerable`1 dependencies, Action`1 sourceSymbolValidator, Action`1 assemblyValidator, Action`1 symbolValidator, SignatureDescription[] expectedSignatures, String expectedOutput, Boolean trimOutput, Nullable`1 expectedReturnCode, String[] args, EmitOptions emitOptions, Verification verify) in /_/src/Compilers/Test/Core/CommonTestBase.cs:line 101
   at Microsoft.CodeAnalysis.CSharp.Test.Utilities.CSharpTestBase.CompileAndVerify(Compilation compilation, IEnumerable`1 manifestResources, IEnumerable`1 dependencies, Action`1 sourceSymbolValidator, Action`1 validator, Action`1 symbolValidator, SignatureDescription[] expectedSignatures, String expectedOutput, Boolean trimOutput, Nullable`1 expectedReturnCode, String[] args, EmitOptions emitOptions, Verification verify) in /_/src/Compilers/Test/Utilities/CSharp/CSharpTestBase.cs:line 1634
   at Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen.CodeGenAsyncEHTests.NestedCatch_DuplicateLocal_NoAwaitInNestedCatch(Boolean awaitInTry2) in /_/src/Compilers/CSharp/Test/Emit/CodeGen/CodeGenAsyncEHTests.cs:line 3856
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
   at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)

Metadata

Metadata

Assignees

Labels

area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIuntriagedNew issue has not been triaged by the area owner

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions