Skip to content

Commit d029170

Browse files
committed
Fix neg/infix-named-args test expected output
1 parent 4ae950d commit d029170

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/neg/infix-named-args.check

+4-4
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,22 @@
1616
| ^^^^^^^
1717
|Deprecated syntax: infix named arguments lists are deprecated; since 3.7 it is interpreted as a single name tuple argument.
1818
|To avoid this warning, either remove the argument names or use dotted selection.
19-
|This can be rewritten automatically under -rewrite -source 3.6-migration.
19+
|This can be rewritten automatically under -rewrite -source 3.7-migration.
2020
-- [E204] Syntax Warning: tests/neg/infix-named-args.scala:5:26 --------------------------------------------------------
2121
5 | def g = new C() `multi` (x = 42, y = 27) // werror
2222
| ^^^^^^^^^^^^^^^^
2323
|Deprecated syntax: infix named arguments lists are deprecated; since 3.7 it is interpreted as a single name tuple argument.
2424
|To avoid this warning, either remove the argument names or use dotted selection.
25-
|This can be rewritten automatically under -rewrite -source 3.6-migration.
25+
|This can be rewritten automatically under -rewrite -source 3.7-migration.
2626
-- [E204] Syntax Warning: tests/neg/infix-named-args.scala:6:21 --------------------------------------------------------
2727
6 | def h = new C() ** (x = 42, y = 27) // werror
2828
| ^^^^^^^^^^^^^^^^
2929
|Deprecated syntax: infix named arguments lists are deprecated; since 3.7 it is interpreted as a single name tuple argument.
3030
|To avoid this warning, either remove the argument names or use dotted selection.
31-
|This can be rewritten automatically under -rewrite -source 3.6-migration.
31+
|This can be rewritten automatically under -rewrite -source 3.7-migration.
3232
-- [E204] Syntax Warning: tests/neg/infix-named-args.scala:13:18 -------------------------------------------------------
3333
13 | def f = this ** (x = 2) // werror
3434
| ^^^^^^^
3535
|Deprecated syntax: infix named arguments lists are deprecated; since 3.7 it is interpreted as a single name tuple argument.
3636
|To avoid this warning, either remove the argument names or use dotted selection.
37-
|This can be rewritten automatically under -rewrite -source 3.6-migration.
37+
|This can be rewritten automatically under -rewrite -source 3.7-migration.

0 commit comments

Comments
 (0)