Aladdin - Scala Bugtracking
[#585] project: compiler priority: low category: bug
submitter assigned to status date submitted
Stephane _ fixed 2006-05-01 18:51:21.0
subject ArrayIndexOutOfBoundsException in Scanner /* * / */
code
/*
/* * /
/* * /
*/
what happened
test1.scala:1 error: unclosed comment
/*
 ^
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 22
        at scala.tools.nsc.util.CharArrayReader.next(CharArrayReader.scala:40)
        [..]
what expected No exception thrown
[back to overview]
Changes of this bug report
Stephane  edited on  2006-05-04 14:21:50.0
Added if-test in method skipComment