Skip to content

Commit f48b816

Browse files
committed
Revert "Deprecate old syntax"
This reverts commit 099074c.
1 parent 40b99ff commit f48b816

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

compiler/src/dotty/tools/dotc/parsing/Parsers.scala

-1
Original file line numberDiff line numberDiff line change
@@ -3117,7 +3117,6 @@ object Parsers {
31173117
case GIVEN =>
31183118
val start = in.skipToken()
31193119
if in.token == USCORE then
3120-
deprecationWarning(em"`given _` is deprecated in imports; replace with just `given`", start)
31213120
in.nextToken()
31223121
ImportSelector(givenSelectorId(start)) // Let the selector span all of `given _`; needed for -Ytest-pickler
31233122
else if canStartTypeTokens.contains(in.token) then

0 commit comments

Comments
 (0)