https://github.com/lampepfl/dotty/blob/master/src/dotty/tools/dotc/core/pickling/UnPickler.scala#L829 Dotty always assumes that default constructor of annotation is called. That's not true for common case of `@specialized(Int)`.