Is it possible to generate a list value selections ?
These two lines :
case class FooBar(id: Long, foo: Int, bar: String) printCall1(FooBar(737, 111, "bobo"))
displays “t.id = 737”
but if I call
printCall2(FooBar(737, 111, "bobo"))
I get the following error “value id is not a member of FooBar”
I can see that in printCall1 the
c.Expr( Select(t.tree, m1.name) ) in line 10 is implicitly provided a
Even when I materialize one and pass it explicitly in printCall2 and printCallList it doesn’t work.
Any idea on how to fix it ?
( here’s the real scenario where I’m trying to make this work)