scala/pickling — pull request #249 by havocp (2014-12-04 22:03:18+00:00)
Title: A few tests (some of them fail)

I think you probably want to cherry-pick or cut-paste-and-modify these commits rather than merge them, but thought a PR would be a good place to look at them.

* static-only test complexified to try to reproduce the problem we're having with trait Message in sbt-rc, with no luck though. Test still passes (at least with scala 2.11 - maybe it's 2.10 only? no idea yet)
* test we detect unclosed types deep in a hierarchy (passes)
* test we detect a parameterized type as not static-only (we do fail to compile it, but with the wrong error message, so fails - it should be covered by whyNotClosed I think)
* test we can get the pickler from a parameter instead of from the macro (fails to compile, this is the gist I had earlier)