Skip to content

Commit 90246d0

Browse files
committed
Fix refined-selectable-macro macro prototype
1 parent b9e24e6 commit 90246d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/run-macros/refined-selectable-macro/Macro_1.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ object Macro {
2222
info match {
2323
case _: TypeBounds =>
2424
rec(parent)
25-
case _: MethodType | _: PolyType | _: TypeBounds =>
26-
qctx.warning(s"Ignored $name as a field of the record", s)
25+
case _: MethodType | _: PolyType | _: TypeBounds | _: ByNameType =>
26+
qctx.warning(s"Ignored `$name` as a field of the record", s)
2727
rec(parent)
2828
case info: Type =>
2929
(name, info) :: rec(parent)

0 commit comments

Comments
 (0)