Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
odersky committed Jan 6, 2024
1 parent 41311bf commit 697f107
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions tests/neg/hidden-type-errors.check
Original file line number Diff line number Diff line change
@@ -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
| ^^^^^^^^^^^^^^^^^^^^
Expand All @@ -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)
| ^^^^^^^^^^^^^^^^^^^
--------------------------------------------------------------------------------------------------------------------

0 comments on commit 697f107

Please sign in to comment.