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
The way gradient's constructors work rn forces one to specify the generic GradientType since the compiler cant infer which type comes from the given ValuesType since a GradientType defines what ValuesType it takes. Due to this the public type definitions like LinearGradient have been created to avoid having to write out the generic parameter everytime. This doesn't solve the problem though.
The text was updated successfully, but these errors were encountered:
The way gradient's constructors work rn forces one to specify the generic GradientType since the compiler cant infer which type comes from the given ValuesType since a GradientType defines what ValuesType it takes. Due to this the public type definitions like LinearGradient have been created to avoid having to write out the generic parameter everytime. This doesn't solve the problem though.
The text was updated successfully, but these errors were encountered: