Skip to content

Commit

Permalink
use random token again
Browse files Browse the repository at this point in the history
  • Loading branch information
neko-kai committed Oct 17, 2022
1 parent 84aa381 commit bbad760
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ object ForcedRecompilationToken {
// TODO: research if caching typed trees optimization is possible and meaningful in Dotty
def materializeImpl[T](using quotes: Quotes): Expr[ForcedRecompilationToken[T]] = {
import quotes.reflect.*
val typeTree = ConstantType(StringConstant("abc"))
val typeTree = ConstantType(StringConstant(compilerLaunchId))
typeTree.asType.asInstanceOf[Type[T]] match {
case given Type[uuid] =>
'{ null.asInstanceOf[ForcedRecompilationToken[uuid]] }
Expand Down

0 comments on commit bbad760

Please sign in to comment.