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
classG<T>{}
class X {publicstaticfield : G<?>;}
class Y extends X {// XPECT noerrors --> "Type of static field Y.field must equal type of overridden static field X.field" at "field"
@Overridepublicstaticfield=newG<string>;}
Current workaround is to annotate the type from the superclass: public static field : G<?> = new G<string>;
The text was updated successfully, but these errors were encountered:
Example
Current workaround is to annotate the type from the superclass:
public static field : G<?> = new G<string>;
The text was updated successfully, but these errors were encountered: