Skip to content

Commit 09caa81

Browse files
committed
Reclassify test
1 parent f38d849 commit 09caa81

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/pos/typeclass-encoding2.scala renamed to tests/neg/typeclass-encoding3.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,5 +344,6 @@ object functors {
344344
??? // $this.flatMap[A](identity) disabled since it does not typecheck
345345
}
346346

347-
MonadFlatten.flattened(List(List(1, 2, 3), List(4, 5)))
347+
MonadFlatten.flattened(List(List(1, 2, 3), List(4, 5))) // ok, synthesizes (using ListMonad)
348+
MonadFlatten.flattened(List(List(1, 2, 3), List(4, 5)))(using ListMonad) // error
348349
}

0 commit comments

Comments
 (0)