Skip to content

Compiler crashes on some combinations of async labmdas, dynamic and type parameters #19778

Closed

Description

E.g. TryRoslyn

using System;
using System.Threading.Tasks;
public class C
{
  public void M()
  {
    async Task<dynamic> L<T, V>(Func<dynamic, T> t, V p) 
      => await L(async m => L(async n => await d?.d, m), p);
  }
}

Error MSB6006: "csc.exe" exited with code -2146232797. (1, 1)

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions