IDE reports errors multiple times
Discussion thread: http://groups.google.com/group/scala-ide-user/browse_thread/thread/58e8896db3a3db1b
The IDE sometimes shows me 2 (or more) copies of each error, compiling in Maven I see the error just once. Sometimes I see the error 5 or 10 times. I've got a reproducible example here:
screenshot: http://img7.imagebanana.com/img/fmaabukq/Selection_010.png
The error is the line with l.foo.toString, obviously there is no method foo on Int. If I remove it, and instead have "l.toString" then it compiles fine.
The IDE sometimes shows me 2 (or more) copies of each error, compiling in Maven I see the error just once. Sometimes I see the error 5 or 10 times. I've got a reproducible example here:
screenshot: http://img7.imagebanana.com/img/fmaabukq/Selection_010.png
The error is the line with l.foo.toString, obviously there is no method foo on Int. If I remove it, and instead have "l.toString" then it compiles fine.
class Test {
def competitors(xhtml: NodeSeq): NodeSeq = {
List("foo", "bar") match {
case Nil => Nil
case competitors =>
def bindCompetitors(xhtml: NodeSeq): NodeSeq =
competitors.flatMap { competitor =>
val l: Int = competitor.length
l.foo.toString
}
Nil
}
}
}
Leave a comment
on 2011-12-07 12:02 *
By Hubert Plociniczak
Assigned to changed from login to Hubert Plociniczak
Status changed from New to Accepted
on 2011-12-07 12:02 *
By Hubert Plociniczak
I can confirm the bug. I will work on it.
on 2011-12-07 12:14 *
By Hubert Plociniczak
It is a problem with the compiler reporter. Compiler throws the error twice tut the reporter removes the duplicates. Should be easy to fix.
(In revision:fd80b346c72d31c29d3a2d4ed77c4515e5ff2fb2) Closes #1000735.
Compiler occiasionally throws duplicate error messages and we don't see it because console reporter ignores them.
We have to do the same.
Branch: issue/multiple-errors-1000735
Compiler occiasionally throws duplicate error messages and we don't see it because console reporter ignores them.
We have to do the same.
Branch: issue/multiple-errors-1000735
on 2012-03-03 00:13 *
By Hubert Plociniczak
(In revision:7f63d0603a7700ee6f971dd309f0d104daf3987c) Closes #1000735.
Compiler occiasionally throws duplicate error messages and we don't see it because console reporter ignores them.
We have to do the same.
Branch: issue/multiple-errors-1000735
Compiler occiasionally throws duplicate error messages and we don't see it because console reporter ignores them.
We have to do the same.
Branch: issue/multiple-errors-1000735
on 2012-03-04 11:42 *
By Hubert Plociniczak
(In revision:7f63d0603a7700ee6f971dd309f0d104daf3987c) Closes #1000735.
Compiler occiasionally throws duplicate error messages and we don't see it because console reporter ignores them.
We have to do the same.
Branch: master
Compiler occiasionally throws duplicate error messages and we don't see it because console reporter ignores them.
We have to do the same.
Branch: master
on 2012-03-04 11:42 *
By Iulian Dragos
(In revision:09fd528d97c685a52b0fca160e67b218b41c012b) Merge pull request #55 from scala-ide/issue/multiple-errors-1000735
Closes #1000735.
Branch: master
Closes #1000735.
Branch: master