-
Notifications
You must be signed in to change notification settings - Fork 5.1k
[mono][AOT] gsharedvt - stop validating generic constraints #119004
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…ppers - next field MonoClass->skip_generic_constraints
/azp run runtime-wasm |
Azure Pipelines successfully started running 1 pipeline(s). |
This could enable wrappers with arguments like public partial struct Nullable<T> where T : struct
public struct ValueTuple<T1> : IEquatable<ValueTuple<T1>>, IStructuralEquatable, IStructuralComparable, IComparable, IComparable<ValueTuple<T1>>, IValueTupleInternal, ITuple
struct AddOperator<T> : IAggregationOperator<T> where T : IAdditionOperators<T, T, T>, IAdditiveIdentity<T, T>
struct WeakGCHandle<T> : System.IDisposable, System.IEquatable<System.Runtime.InteropServices.WeakGCHandle<T>> where T : class? Quick list of types with constraints Would that break anything ? Would that make AOT binary (much) bigger ? Would that make TensorPrimitives faster ? |
/azp run runtime-wasm |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run runtime-wasm |
Azure Pipelines successfully started running 1 pipeline(s). |
RegularExpressions are fixed🎉
But as it is, it breaks
|
Fixes #117557