2.10.x

Was just trying to post a pull request, new here but ......
Seems like an unreported error/ or not,

`scalac` command seems to compile .txt files as well or any extensions, if the correct code is inside the file. Noticed on ver 2.10.3 

is it a deliberate flexibility provided by the scala ?