Skip to content

Commit 99e9408

Browse files
committed
Cleanup
1 parent 2dc8ada commit 99e9408

File tree

3 files changed

+5
-353
lines changed

3 files changed

+5
-353
lines changed

after-printing.txt

Lines changed: 0 additions & 151 deletions
This file was deleted.

tasty-fail-diff.txt

Lines changed: 0 additions & 187 deletions
This file was deleted.

tests/pos/i2997.scala

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,9 @@
1-
// case class Foo[T <: Int with Singleton](t : T)
2-
3-
// object Test {
4-
// val one = 1
5-
// final val final_one = 1
6-
// val a : 1 = Foo(1).t
7-
// val b : one.type = Foo(one).t
8-
// val c : 1 = Foo(final_one).t
9-
// }
10-
11-
case class Foo(t : Int)
12-
13-
object Foo {
14-
def apply(t0: Int) : Foo {val t : t0.type} = ???
15-
}
1+
case class Foo[T <: Int with Singleton](t : T)
162

173
object Test {
4+
val one = 1
5+
final val final_one = 1
186
val a : 1 = Foo(1).t
7+
val b : one.type = Foo(one).t
8+
val c : 1 = Foo(final_one).t
199
}

0 commit comments

Comments
 (0)