Open rolfbjarne opened 6 months ago
@rolfbjarne is this a customer facing issue or a failing test case?
We are triaging all the AOT issues and it is known that Mono AOT compiler struggles with generics, but it is a non-trivial problem and any fix is a high-risk one. With that said, we are trying to understand when this should be fixed.
Moving to 9 for now - depending on the impact we should move it to 10 probably.
@rolfbjarne is this a customer facing issue or a failing test case?
It's a failing test case (see https://github.com/xamarin/xamarin-macios/issues/19781).
@rolfbjarne Is there some timeframe when this started to happen? Or is it a new test which failed since forever?
@rolfbjarne Is there some timeframe when this started to happen? Or is it a new test which failed since forever?
I don't think this ever worked.
Description
The AOT compiler seems unable to compile certain generic methods.
Reproduction Steps
Test project: maccatalyst-aa3902a.zip
The code goes something like this:
Expected behavior
No exception.
Actual behavior
Regression?
Not as far as I know.
Known Workarounds
Use less generics? NativeAOT also works.
Configuration
Mac Catalyst .NET 8.0.200, on arm64. Same thing happens on iOS and tvOS as well (on arm64).
Other information
No response