Fix scala/bug#8522 - add regression test (#8574)
Fix scala/bug#8522 - add regression test (#8574)

Fix scala/bug#8522 - add regression test
scala/scala,lrytz/scala,scala/scala,lrytz/scala,scala/scala,scala/scala,lrytz/scala,lrytz/scala,scala/scala,lrytz/scala,scala/scala,lrytz/scala