Regression with -optimise: "Illegal index: 0 overlaps List((variable par1,LONG))" #3882
Comments
Imported From: https://issues.scala-lang.org/browse/SI-3882?orig=1
|
Christoph Radig (cradig) said: [ERROR] error: Illegal index: 0 overlaps List((variable par1,DOUBLE)) The offending line is: @inline def ≈ (that: Double) = this almost_== that Curiously, the following compiles: @inline def nounicodeplease (that: Double) = this almost_== that Dropping the "@inline" also compiles. So it seems like inlining and non-ASCII(?) method names don't like each other...? Strange enough, but I hope this helps. |
@paulp said: |
Christoph Radig (cradig) said: Note that the error occurs compiling the ScalaTest file PimpedDouble.scala. I tried to reproduce the conditions in the regular code in the (misnamed) OffendingCode.scala, but without luck. If you need any further information, please let me know. |
@paulp said: |
@paulp said: |
@VladUreche said: Now, regarding the bug itself, which is legitimate, I suggest we revisit it once we have GenBCode running - my feeling is that working with bytecode instead of icode should improve the stability. But I won't close it until I see the message gone. |
@VladUreche said: See also: |
@adriaanm said: |
@adriaanm said: |
@magarciaEPFL said: |
Fails as below since at least r23034, up to and including r23144. Compiles with 2.8.0 and the 2.8.1 RCs.
The text was updated successfully, but these errors were encountered: