From 697f107cec7608cc4c8d351ada885a312ad4a742 Mon Sep 17 00:00:00 2001 From: odersky Date: Sat, 23 Dec 2023 16:14:56 +0100 Subject: [PATCH] Fix test --- tests/neg/hidden-type-errors.check | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/tests/neg/hidden-type-errors.check b/tests/neg/hidden-type-errors.check index 2cf77134c2c5..2f4a1748dc67 100644 --- a/tests/neg/hidden-type-errors.check +++ b/tests/neg/hidden-type-errors.check @@ -1,16 +1,3 @@ --- Warning: tests/neg/hidden-type-errors/Test.scala:8:24 --------------------------------------------------------------- - 8 | val x = X.doSomething("XXX") // error - | ^^^^^^^^^^^^^^^^^^^^ - | Context bounds will map to context parameters. - | A `using` clause is needed to pass explicit arguments to them. - | This code can be rewritten automatically under -rewrite -source 3.5-migration. - |-------------------------------------------------------------------------------------------------------------------- - |Inline stack trace - |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |This location contains code that was inlined from Macro.scala:15 -15 | doSomethingImpl('x) - | ^^^^^^^^^^^^^^^^^^^ - -------------------------------------------------------------------------------------------------------------------- -- [E007] Type Mismatch Error: tests/neg/hidden-type-errors/Test.scala:8:24 -------------------------------------------- 8 | val x = X.doSomething("XXX") // error | ^^^^^^^^^^^^^^^^^^^^ @@ -31,16 +18,3 @@ | | The tests were made under the empty constraint --------------------------------------------------------------------------------------------------------------------- --- Warning: tests/neg/hidden-type-errors/Test.scala:8:24 --------------------------------------------------------------- - 8 | val x = X.doSomething("XXX") // error - | ^^^^^^^^^^^^^^^^^^^^ - | Context bounds will map to context parameters. - | A `using` clause is needed to pass explicit arguments to them. - | This code can be rewritten automatically under -rewrite -source 3.5-migration. - |-------------------------------------------------------------------------------------------------------------------- - |Inline stack trace - |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |This location contains code that was inlined from Macro.scala:15 -15 | doSomethingImpl('x) - | ^^^^^^^^^^^^^^^^^^^ - --------------------------------------------------------------------------------------------------------------------