[3.0.0-RC2 / 3.0.0-RC3] cannot resolve ValueOf
for type literal argument of opaque types
#12178
Labels
ValueOf
for type literal argument of opaque types
#12178
Compiler version
3.0.0-RC2 / 3.0.0-RC3
Minimized code
Output
Expectation
Type inference does not generalize type literal arguments to
Singleton & String
while searching for an instance ofValueOf
.Works with case classes:
The text was updated successfully, but these errors were encountered: