Skip to content

Commit 0064c93

Browse files
committed
Remove resolved TODOs
1 parent 6747160 commit 0064c93

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

compiler/src/dotty/tools/dotc/quoted/QuotePatterns.scala

-1
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,6 @@ object QuotePatterns:
266266
case pat: Bind => !pat.symbol.name.is(PatMatGivenVarName)
267267
case _ => true
268268
}
269-
// TODO-18271: Support for typeargs?
270269
override def transform(tree: tpd.Tree)(using Context): tpd.Tree = tree match
271270
case TypeApply(patternHole, _) if patternHole.symbol == defn.QuotedRuntimePatterns_patternHole =>
272271
cpy.SplicePattern(tree)(patternIterator.next(), Nil, Nil)

compiler/src/dotty/tools/dotc/typer/QuotesAndSplices.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ trait QuotesAndSplices {
121121
}
122122
val typedTypeargs = tree.typeargs.map {
123123
case typearg: untpd.Ident =>
124-
val typedTypearg = typedType(typearg) // TODO-18271: Is this appropriate?
124+
val typedTypearg = typedType(typearg)
125125
/* TODO-18271: Allow type bounds?
126126
* (NOTE: Needs non-trivial extension to type system)
127127
*/

0 commit comments

Comments
 (0)