pull request feedback

https://github.com/scala/scala/pull/3029