Skip to content
This repository has been archived by the owner on Jan 12, 2022. It is now read-only.

Compile time typecheck fails on doubly+ nested types #25

Closed
julianpeeters opened this issue Aug 14, 2015 · 1 comment
Closed

Compile time typecheck fails on doubly+ nested types #25

julianpeeters opened this issue Aug 14, 2015 · 1 comment

Comments

@julianpeeters
Copy link
Owner

case class(x: List[Option[Int]]) fails to expand.

Used to work when types were converted to Strings for the typematcher, but after moving to TypeRefs (for typesafety), c.typecheck returns List[Option[...]]

How can I typecheck the whole type? Can I typecheck recursively? I've added the question on SO.

@julianpeeters
Copy link
Owner Author

Looks like AvroTypeProvider was not explicit enough in matching nested records to case classes. Fixed in versions 0.10.3 for Scala 2.11, 0.4.6 for scala 2.10

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant