This page is no longer maintained — Please continue to the home page at www.scala-lang.org

Internal compiler error

1 reply
Silvio Bierman
Joined: 2009-02-16,
User offline. Last seen 1 year 16 weeks ago.

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

milessabin
Joined: 2008-08-11,
User offline. Last seen 33 weeks 3 days ago.
Re: Internal compiler error

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

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland