dcaoyuan/nbscala

parser is lost on comments without EOL before EOF

gaydenko opened this issue · 0 comments

It was very difficult to find, but the reality is very simple. Say, we have the code

package fun

object Comments

/*


*/

Here the parser is lost (no highlighting, outline, etc.). And this is OK:

package fun

object Comments

/*


*/

The only difference is added empty line at the file end.