Skip to content

Commit 04dc823

Browse files
oderskyKordyjan
authored andcommitted
Fix test
1 parent 04d1cf1 commit 04dc823

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

tests/neg/hidden-type-errors.check

-26
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,3 @@
1-
-- Warning: tests/neg/hidden-type-errors/Test.scala:8:24 ---------------------------------------------------------------
2-
8 | val x = X.doSomething("XXX") // error
3-
| ^^^^^^^^^^^^^^^^^^^^
4-
| Context bounds will map to context parameters.
5-
| A `using` clause is needed to pass explicit arguments to them.
6-
| This code can be rewritten automatically under -rewrite -source 3.5-migration.
7-
|--------------------------------------------------------------------------------------------------------------------
8-
|Inline stack trace
9-
|- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
10-
|This location contains code that was inlined from Macro.scala:15
11-
15 | doSomethingImpl('x)
12-
| ^^^^^^^^^^^^^^^^^^^
13-
--------------------------------------------------------------------------------------------------------------------
141
-- [E007] Type Mismatch Error: tests/neg/hidden-type-errors/Test.scala:8:24 --------------------------------------------
152
8 | val x = X.doSomething("XXX") // error
163
| ^^^^^^^^^^^^^^^^^^^^
@@ -31,16 +18,3 @@
3118
|
3219
| The tests were made under the empty constraint
3320
---------------------------------------------------------------------------------------------------------------------
34-
-- Warning: tests/neg/hidden-type-errors/Test.scala:8:24 ---------------------------------------------------------------
35-
8 | val x = X.doSomething("XXX") // error
36-
| ^^^^^^^^^^^^^^^^^^^^
37-
| Context bounds will map to context parameters.
38-
| A `using` clause is needed to pass explicit arguments to them.
39-
| This code can be rewritten automatically under -rewrite -source 3.5-migration.
40-
|--------------------------------------------------------------------------------------------------------------------
41-
|Inline stack trace
42-
|- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
43-
|This location contains code that was inlined from Macro.scala:15
44-
15 | doSomethingImpl('x)
45-
| ^^^^^^^^^^^^^^^^^^^
46-
--------------------------------------------------------------------------------------------------------------------

0 commit comments

Comments
 (0)