Aladdin - Scala Bugtracking
[#923] project: compiler priority: low category: bug
submitter assigned to status date submitted
Sean Martin fixed 2007-01-29 12:23:00.0
subject positions off in closures
code
trait Test {
  def foo(list : List[String] => Int) : Unit;
  foo(.reverse.length);
}
what happened
The "length" part in foo(.reverse.length) has the same position as reverse. Actually, the position seems to be s\
et correctly by simpleExpr, but is reset by the atPos around DOT before makeClosure is called, which should be i\
mpossible. Anyways, I can't nail this down in the debugger, too much indirection.
what expected
[back to overview]
Changes of this bug report
Martin  edited on  2007-01-29 17:53:17.0