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.
2 parents 972450d + fdbb918 commit 428568fCopy full SHA for 428568f
tests/pos/i6693.scala
@@ -0,0 +1,16 @@
1
+package towers.computes
2
+
3
+import quoted._
4
5
+sealed abstract class Computes[T]
6
7
+object Computes {
8
9
+ opaque type Opaque[T] = Int
10
11
+ implicit class ComputesApplication1[T : Type](fn : Computes[Opaque[T]]) {
12
+ def apply[A](arg1 : Computes[A]) : Computes[T] = ???
13
+ }
14
15
+ def let[V, T : Type](value : Computes[V], body : Computes[Opaque[T]]) : Computes[T] = body(value)
16
+}
0 commit comments