[#879] | project: compiler | priority: low | category: bug | |
---|---|---|---|---|
submitter | assigned to | status | date submitted | |
Nikolay | Burak | fixed | 2007-01-08 23:07:09.0 | |
subject | [contrib #286] Parse error with blocks and XML | |||
code |
object Test { def wrap(f : Int => Unit) = f(5) wrap({ v => if(v == 5) { val n = { val m = (<div>{ v }</div>) <div>{ v }</div> } () } }) } |
|||
what happened | /home/jwebb/tests/test.scala:12 error: block must end in result expression, not in definition } ^ one error found |
|||
what expected | Clean compile | |||
[back to overview] |
Nikolay edited on 2007-01-08 23:07:34.0 |
contribution #286 |
Burak edited on 2007-03-03 01:30:19.0 |
I get a different error message...
/tmp/gi.scala:10: error: ';' expected but '(' found. } ^ one error found |
Burak edited on 2007-03-03 02:57:46.0 |