Aladdin - Scala Bugtracking
[#790] project: compiler priority: low category: missing feature
submitter assigned to status date submitted
Stephane _ open 2006-10-24 18:46:17.0
subject fsc and scalac report error with different file names
code
what happened
scala> ./dists/latest/bin/fsc -d /tmp test/files/neg/bug556.scala
/home/USER/projects/scala-installer/dependencies/scala/test/files/neg/bug556.scala:3 error: wrong number of para\
meters; expected = 1
  def g:Int = f((x,y)=>x)
                     ^
one error found
scala> ./dists/latest/bin/scalac -d /tmp test/files/neg/bug556.scala
test/files/neg/bug556.scala:3 error: wrong number of parameters; expected = 1
  def g:Int = f((x,y)=>x)
                     ^
one error found
what expected Both commands print out the same paths in the error message.
[back to overview]
Changes of this bug report
Stephane  edited on  2006-10-24 18:46:29.0