-Wunused:all
and higher kinded type type parameter
#16681
Labels
-Wunused:all
and higher kinded type type parameter
#16681
I tried adding the new unused flag (from #16157) to my work codebase and was surprised that it warned about unused import when used with the
cats
libraries IO type. A minimal reproducer independent of cats is below.Compiler version
With nightly:
3.3.0-RC1-bin-20230112-be10bc6-NIGHTLY
Minimized code
Output
Expectation
HKT is used as the instance of F in Thing, and hence should not be reported as unused.
The text was updated successfully, but these errors were encountered: