We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b5f753 commit db8528bCopy full SHA for db8528b
community-build/src/scala/dotty/communitybuild/FieldsImpl.scala
@@ -13,5 +13,5 @@ object FieldsImpl:
13
s.isValDef && s.tree.asInstanceOf[ValDef].tpt.tpe <:< retType
14
val projectsTree = from.asTerm
15
val symbols = TypeTree.of[V].symbol.declaredFields.filter(isProjectField)
16
- val selects = symbols.map(Select(projectsTree, _).asExprOf[T])
+ val selects = symbols.map(Select(projectsTree, _).asExprOf: Expr[T])
17
'{ println(${Expr(retType.show)}); ${Varargs(selects)} }
0 commit comments