Skip to content

Commit

Permalink
refactor: use Quotes symbol instead of full name
Browse files Browse the repository at this point in the history
  • Loading branch information
kasiaMarek authored and tgodzik committed Apr 15, 2024
1 parent 1f16fcc commit fa3268a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ object ImplicitParameters:
case _ => false
// Decorations for Quotes are rarely useful
private def isQuotes(tree: Tree)(using Context) =
tree.tpe.typeSymbol.fullName.toString() == "scala.quoted.Quotes"
tree.tpe.typeSymbol == Symbols.defn.QuotesClass

end ImplicitParameters

Expand Down

0 comments on commit fa3268a

Please sign in to comment.