diff --git a/tests/neg/i19334.scala b/tests/neg/i19334.scala index cd6af1872241..0e366d135d58 100644 --- a/tests/neg/i19334.scala +++ b/tests/neg/i19334.scala @@ -2,5 +2,5 @@ def foo[T](f: T): T = ??? @main def main = foo: - def f() = () + def f() = () // error !!! spurious error marker f(_) // error was OOM formatting TypeVar(TypeParamRef(T)) when offering explanations diff --git a/tests/neg/i19470.check b/tests/neg/i19470.check index 72f811f7ea3b..234993c5e3c1 100644 --- a/tests/neg/i19470.check +++ b/tests/neg/i19470.check @@ -4,4 +4,4 @@ | Found: Inv[? >: IO <: box IO^{f}] | Required: box Inv[box IO^?]^? | - | longer explanation available when compiling with `-explain` + | longer explanation available when compiling with `-explain`