Skip to content

Commit e09a1f1

Browse files
committed
Fix test
1 parent 83b703d commit e09a1f1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/pos/i15738.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
object Test {
22
trait Transaction
3-
type Transactional[T] = (Transaction) ?=> T
3+
type Transactional[T] = (t: Transaction) ?=> T
44

55
def ff(x: Int): Transactional[Int] = {
6-
//summon[Transaction]
6+
summon[Transaction]
77
x
88
}
99

1010
def fff(x: Int): Transactional[Int] = {
11-
//summon[Transaction]
11+
summon[Transaction]
1212
val x1 = ff(x)
1313
x1
1414
}

0 commit comments

Comments
 (0)