On Jul 11, 11:16 pm, Joni Freeman <
joni.free...@reaktor.fi> wrote:
> Hi,
>
> Looks like a bug. The extracted type must be the same type as given to
> the extract function. Please file a ticket.
>
> Cheers Joni
>
>
>
>
>
>
>
> On Mon, 2011-07-11 at 22:23 -0700, tcc wrote:
> > When parsing case classes with a List of Option[String], the option
> > classes get flatten out.
>
> > For case class Library(name:String, docs:List[Option[String]])
> > when I parse and extract it, i get:
> > Library(test,List(1, 2))
> > but I expect:
> > Library(test,List(Some(1), Some(2)))
>