-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Open
Labels
Milestone
Description
Repro
Console.WriteLine(new G<string>().M());
class G<T>
{
public object M()
{
return new G<List<T>>();
}
}
Actual result:
AOT analysis warning IL3054: [repro]G<System.Collections.Generic.List<System.Collections.Generic.List<Syste m.Collections.Generic.List<System.Collections.Generic.List<string>>>>>: Generic expansion to 'G<List<List<Lis t<List<List<String>>>>>>' was aborted due to generic recursion.
Expected result:
No warning
Context: #85176 (comment)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
No status