Skip to content

Commit 0663ba8

Browse files
committed
Add files via upload
fixed tests
1 parent 465de77 commit 0663ba8

File tree

4 files changed

+5
-16
lines changed

4 files changed

+5
-16
lines changed

tests/neg/i17168.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
type F[X <: String] = X
2+
3+
val a = summon[F[Int] =:= Int] // error

tests/pos/i13332super.scala

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

tests/run/anon-mirror-gen-local.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class Outer5 { self =>
5555
}
5656
}
5757

58-
lazy val o = new Outer5() // infinite init
58+
final lazy val o = new Outer5() // infinite init
5959

6060
}
6161

tests/run/i13332a.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ class SubUniverse extends Universe {
150150

151151
trait Whole {
152152
trait MixinA {
153-
lazy val mixinB = new MixinB() {}
153+
final lazy val mixinB = new MixinB() {}
154154
}
155155
trait MixinB {
156156
object A extends MixinB { // by inheriting `MixinB`, we should not check for inheritance from the right

0 commit comments

Comments
 (0)