We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11d7114 commit cf888c4Copy full SHA for cf888c4
tests/pos/i16076.scala
@@ -0,0 +1,9 @@
1
+trait Column[V]
2
+trait ColumnPath
3
+
4
+trait ColumnFactory[V, C <: Column[V]]:
5
+ def apply(columnPath: ColumnPath): C
6
7
+object ColumnFactory:
8
+ private def apply[V, C <: Column[V]](f: String => C): ColumnFactory[V, C] =
9
+ columnPath => f(columnPath.toString())
0 commit comments