Skip to content

Commit dc82087

Browse files
committed
fix(debug): added method present in Scala 3.5+ to debuggable
1 parent 1cc439a commit dc82087

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

parsley-debug/shared/src/main/scala-3/parsley/debuggable.scala

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ import scala.quoted.*
1818
* @since 5.0.0
1919
*/
2020
@experimental class debuggable extends MacroAnnotation {
21+
// this is required for Scala 3.5+
22+
def transform(using Quotes)(tree: quotes.reflect.Definition, companion: Option[quotes.reflect.Definition]): List[quotes.reflect.Definition] = transform(tree)
2123
def transform(using Quotes)(tree: quotes.reflect.Definition): List[quotes.reflect.Definition] = {
2224
import quotes.reflect.*
2325
tree match {

0 commit comments

Comments
 (0)