From ce9e6993447b0391d8a56ac6e73645d2d7529a2c Mon Sep 17 00:00:00 2001 From: Nicolas Stucki Date: Mon, 8 Jan 2024 15:51:42 +0100 Subject: [PATCH] Remove `ascriptionVarargsUnpacking` as we never used it --- compiler/src/dotty/tools/dotc/config/Feature.scala | 1 - library/src/scala/runtime/stdLibPatches/language.scala | 3 --- 2 files changed, 4 deletions(-) diff --git a/compiler/src/dotty/tools/dotc/config/Feature.scala b/compiler/src/dotty/tools/dotc/config/Feature.scala index fa262a5880ff..2798828ad9a7 100644 --- a/compiler/src/dotty/tools/dotc/config/Feature.scala +++ b/compiler/src/dotty/tools/dotc/config/Feature.scala @@ -26,7 +26,6 @@ object Feature: val dependent = experimental("dependent") val erasedDefinitions = experimental("erasedDefinitions") val symbolLiterals = deprecated("symbolLiterals") - val ascriptionVarargsUnpacking = deprecated("ascriptionVarargsUnpacking") val fewerBraces = experimental("fewerBraces") val saferExceptions = experimental("saferExceptions") val clauseInterleaving = experimental("clauseInterleaving") diff --git a/library/src/scala/runtime/stdLibPatches/language.scala b/library/src/scala/runtime/stdLibPatches/language.scala index c2a12cec2ecc..6018f537613b 100644 --- a/library/src/scala/runtime/stdLibPatches/language.scala +++ b/library/src/scala/runtime/stdLibPatches/language.scala @@ -115,9 +115,6 @@ object language: @compileTimeOnly("`symbolLiterals` can only be used at compile time in import statements") object symbolLiterals - /** TODO */ - @compileTimeOnly("`ascriptionVarargsUnpacking` can only be used at compile time in import statements") - object ascriptionVarargsUnpacking end deprecated /** Where imported, auto-tupling is disabled.