- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
Internal compiler error
Tue, 2010-04-20, 11:28
I am using the current nightly build (scala-2.8.0.r21625-b20100420020155) I
can no longer build my project. In Eclipse builds silently terminate at 8%
and do not produce any class files. There are no errors in the problems view
or the errors log.
Doing an Ant build fails with
BUILD FAILED
C:\java_root\projects\piglet\build\build.xml:69: Compile failed because of
an internal compiler error (type mismatch;
found : (AppendView.this.contentView.columnList.ColumnListItemComponent)
=> Boolean
required: (AppendView.this.contentView.columnList.ColumnListItemComponent)
=> Boolean); see the error output for details.
When I use a slightly older version (scala-2.8.0.r21376-b20100408020204) the
Ant build succeeds. Using that same Eclipse plugin the Eclipse build worked
fine as well.
Is there anything I can do about this? Or should I just wait for a new
distro?
Gr. Silvio
On Tue, Apr 20, 2010 at 12:28 PM, Silvio Bierman
wrote:
> I am using the current nightly build (scala-2.8.0.r21625-b20100420020155) I
> can no longer build my project. In Eclipse builds silently terminate at 8%
> and do not produce any class files. There are no errors in the problems view
> or the errors log.
>
> Doing an Ant build fails with
>
> BUILD FAILED
> C:\java_root\projects\piglet\build\build.xml:69: Compile failed because of
> an internal compiler error (type mismatch;
> found : (AppendView.this.contentView.columnList.ColumnListItemComponent)
> => Boolean
> required: (AppendView.this.contentView.columnList.ColumnListItemComponent)
> => Boolean); see the error output for details.
>
> When I use a slightly older version (scala-2.8.0.r21376-b20100408020204) the
> Ant build succeeds. Using that same Eclipse plugin the Eclipse build worked
> fine as well.
>
> Is there anything I can do about this? Or should I just wait for a new
> distro?
If an command line build fails with an internal compiler error, then
you've found a scalac bug that needs reporting (if it hasn't been
reported already). If you're able to produce a minimal example which
replicates the problem that would be very helpful.
Cheers,
Miles