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
valYmethodInfer=BooleanSetting ("-Yinfer-argument-types", "Infer types for arguments of overridden methods.")
221
221
valYdisableFlatCpCaching=BooleanSetting ("-YdisableFlatCpCaching", "Do not cache flat classpath representation of classpath elements from jars across compiler instances.")
222
222
valYpartialUnification=BooleanSetting ("-Ypartial-unification", "Enable partial unification in type constructor inference")
223
+
valYhkTypevarUnification=BooleanSetting ("-Yhk-typevar-unification", "Enable unification of higher-kinded type variables with type constructors")
hk-typevar-unification.scala:16: error: inferred kinds of the type arguments ([_]Foo[_]) do not conform to the expected kinds of the type parameters (type F).
2
+
[_]Foo[_]'s type parameters do not match type F's expected parameters:
3
+
type _ (in class Foo) is invariant, but type _ is declared covariant
4
+
g(tcFoo)
5
+
^
6
+
hk-typevar-unification.scala:16: error: type mismatch;
0 commit comments