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

Compiler bug

1 reply
Naftoli Gugenheim
Joined: 2008-12-17,
User offline. Last seen 42 years 45 weeks ago.
Would someone mind looking at this if they know whether it's known bug?Run command line:
scalac builder\running\Invocations.scala builder\running\InfixOperations.scala builder\Descriptors.scala builder\running\ExprRunner.scala builder\parsing\NodeParser.scala builder\parsing\DefaultParsers.scala builder\parsing\MethodParsers.scala builder\parsing\ExpressionParser.scala builder\parsing\ExpressionLexical.scala builder\Expr.scala builder\running\PropertyProvider.scala
Adding a type annotation to def getPropertyType of : Class[_] on line 182 of ExprRunner.scala avoids the error.
Naftoli Gugenheim
Joined: 2008-12-17,
User offline. Last seen 42 years 45 weeks ago.
Re: Compiler bug
I should mention that the error was something along the lines of crashing due to an invalid type. There is no stack trace, just a line line error. (Although eclipse reports it as a compiler crash)

On Thu, Jan 22, 2009 at 12:11 AM, Naftoli Gugenheim <naftoligug [at] gmail [dot] com> wrote:
Would someone mind looking at this if they know whether it's known bug? Run command line:
scalac builder\running\Invocations.scala builder\running\InfixOperations.scala builder\Descriptors.scala builder\running\ExprRunner.scala builder\parsing\NodeParser.scala builder\parsing\DefaultParsers.scala builder\parsing\MethodParsers.scala builder\parsing\ExpressionParser.scala builder\parsing\ExpressionLexical.scala builder\Expr.scala builder\running\PropertyProvider.scala
Adding a type annotation to def getPropertyType of : Class[_] on line 182 of ExprRunner.scala avoids the error.

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