You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixesdotnet#105397.
The repro case hits an interesting problem in native layout - we emit the `IEnumerable<IEnumerable<double?>>` type as a constructed type, however the components of it are only generated as necessary. Because native layout expresses it as a decomposed instantiation, we're not able to find the type because the component of it is not constructed and we don't really keep track of those.
This can be fixed by simply not generating types as composed out of various components if the `MethodTable` already exists in the compilation.
Description
Use command
dotnet publish -c Release -r win-x64 -p:PublishAot=true -f net8.0
and run the app will printReproduction Steps
Publish with aot and run the code
Expected behavior
No crash
Actual behavior
Crash with message
Regression?
No response
Known Workarounds
No response
Configuration
Other information
No response
The text was updated successfully, but these errors were encountered: