Compiler bug of scala 2.11.3