Skip to content

Commit 2b4c1e1

Browse files
authoredJan 31, 2021
Merge pull request #11258 from griggt/close-fuzzballs
Add regression tests for fixed fuzzball issues
2 parents ab3bc41 + 0198cc8 commit 2b4c1e1

File tree

4 files changed

+30
-0
lines changed

4 files changed

+30
-0
lines changed
 

‎tests/fuzzy/i9283.scala

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// AE-77a004382f0de9965cb3880b27f302eb1c885c48
2+
object Foo {
3+
class A
4+
def f(x: A): Unit = x { } // This error is necessary.
5+
}
6+
case class Foo()
7+
type Foo = Any

‎tests/fuzzy/i9284.scala

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// TUATE-a0aa3e4143e63305db9ebacb6165df0155d73bbd
2+
object Foo {
3+
class Bar
4+
Bar[String][Int]
5+
}
6+
7+
class i0 { i0 [String][Int] }

‎tests/fuzzy/i9288.scala

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// AE-de752a30942c1949a413940222cd9e573e5aa6a4
2+
class Foo {
3+
import annotation.static
4+
class Bar
5+
object Bar {
6+
@static val x = 2
7+
}
8+
import Bar._
9+
x
10+
}

‎tests/fuzzy/i9293.scala

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
class Foo[X] {
2+
def foo: X[X] = foo(null)
3+
}
4+
object Foo {
5+
implicit def baz[X](arg: X): Foo[X] = ???
6+
}

0 commit comments

Comments
 (0)
Please sign in to comment.