Skip to content

Commit 447dd7c

Browse files
committed
wip
1 parent 0dbfdfe commit 447dd7c

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

compiler/src/dotty/tools/dotc/transform/Splicer.scala

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -162,15 +162,6 @@ object Splicer {
162162
case tree: Ident if tree.symbol.is(Inline) || summon[Env].contains(tree.symbol) =>
163163
// OK
164164

165-
// TODO remove case
166-
case Apply(Select(TypeApply(unsafeExpr, _), nme.apply), List(expr))
167-
if unsafeExpr.symbol.showFullName == "scala.quoted.Scope.unsafeExpr" =>
168-
checkIfValidArgument(expr)
169-
case Apply(TypeApply(unsafeType, _), List(expr))
170-
if unsafeType.symbol.showFullName == "scala.quoted.Scope.unsafeType" =>
171-
checkIfValidArgument(expr)
172-
case Apply(given_Type, List(expr)) if given_Type.symbol.showFullName == "scala.quoted.Scope.given_Type" =>
173-
checkIfValidArgument(expr)
174165
case _ =>
175166
val extra = if tree.span.isZeroExtent then ": " + tree.show else ""
176167
report.error(

0 commit comments

Comments
 (0)