Skip to content

Commit ec58ab5

Browse files
committed
Regression test for #16076
1 parent 51ff47a commit ec58ab5

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/pos/i16076.scala

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)