Skip to content

Add regression tests for fixed fuzzball issues #11258

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 31, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions tests/fuzzy/i9283.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// AE-77a004382f0de9965cb3880b27f302eb1c885c48
object Foo {
class A
def f(x: A): Unit = x { } // This error is necessary.
}
case class Foo()
type Foo = Any
7 changes: 7 additions & 0 deletions tests/fuzzy/i9284.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// TUATE-a0aa3e4143e63305db9ebacb6165df0155d73bbd
object Foo {
class Bar
Bar[String][Int]
}

class i0 { i0 [String][Int] }
10 changes: 10 additions & 0 deletions tests/fuzzy/i9288.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// AE-de752a30942c1949a413940222cd9e573e5aa6a4
class Foo {
import annotation.static
class Bar
object Bar {
@static val x = 2
}
import Bar._
x
}
6 changes: 6 additions & 0 deletions tests/fuzzy/i9293.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
class Foo[X] {
def foo: X[X] = foo(null)
}
object Foo {
implicit def baz[X](arg: X): Foo[X] = ???
}