未验证 提交 496847bc 编写于 作者: J Jason Malinowski 提交者: GitHub

Merge pull request #37628 from jasonmalinowski/fix-type-inferrer-skips

Update some skip attributes on TypeInferrer tests
......@@ -151,7 +151,7 @@ public async Task TestCoalesce4()
// This is skipped for now. This is a case where we know we can unilaterally mark the reference type as nullable, as long as the user has #nullable enable on.
// But right now there's no compiler API to know if it is, so we have to skip this. Once there is an API, we'll have it always return a nullable reference type
// and we'll remove the ? if it's in a non-nullable context no differently than we always generate types fully qualified and then clean up based on context.
[Fact(Skip = "https://github.com/dotnet/roslyn/issues/36101"), Trait(Traits.Feature, Traits.Features.TypeInferenceService)]
[Fact(Skip = "https://github.com/dotnet/roslyn/issues/37178"), Trait(Traits.Feature, Traits.Features.TypeInferenceService)]
public async Task TestCoalesceInNullableEnabled()
{
await TestInMethodAsync(
......@@ -2042,7 +2042,7 @@ void M()
await TestAsync(text, "global::System.Object");
}
[Fact(Skip = "https://github.com/dotnet/roslyn/issues/32459")]
[Fact]
public async Task TestArrayInitializerInImplicitArrayCreationInferredAsNullable()
{
var text =
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册