Aladdin - Scala Bugtracking
[#944] project: interpreter priority: low category: bug
submitter assigned to status date submitted
Nikolay Lex fixed 2007-02-11 17:39:50.0
subject [contrib #320] multilined XML val gives error messages and is accepted
code
object Test{
  val page = <html>
  </html>;
}
what happened
Compiles just fine with scalac. But with interpreter produces error message:
"error: missing end tag in XML literal for "
"error: ';' expected but something found
"defined module Test"
what expected Interpreter should define Test as it does currently, but shouldn't produce the error messages for multilined XML object definition (at least when using :load).
[back to overview]
Changes of this bug report
Nikolay  edited on  2007-02-11 17:41:04.0
contribution #320. Don't know if this is for Lex or Burak. Assigned to Lex on the grounds that it only happens in the interpreter
Lex  edited on  2007-07-13 23:23:56.0
This is now fixed, along with several other cases where input runs out in the middle of parsing XML.