Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BoxesRunTime.equalsNumChar should be public #9030

Closed
scabug opened this issue Dec 5, 2014 · 2 comments
Closed

BoxesRunTime.equalsNumChar should be public #9030

scabug opened this issue Dec 5, 2014 · 2 comments
Assignees
Milestone

Comments

@scabug
Copy link

scabug commented Dec 5, 2014

lucmac:scala2 luc$ scala
Welcome to Scala version 2.11.4 (Java HotSpot(TM) 64-Bit Server VM, Java 1.6.0_65).
Type in expressions to have them evaluated.
Type :help for more information.

scala> def foo(a: java.lang.Number, b: java.lang.Character) = a == b
scala.reflect.internal.FatalError: object BoxesRunTime does not have a decl equalsNumChar
    at scala.reflect.internal.Definitions$DefinitionsClass.scala$reflect$internal$Definitions$DefinitionsClass$$fatalMissingSymbol(Definitions.scala:1179)
    at scala.reflect.internal.Definitions$DefinitionsClass.getDecl(Definitions.scala:1253)
    at scala.tools.nsc.backend.JavaPlatform$class.externalEqualsNumChar(JavaPlatform.scala:41)
    at scala.tools.nsc.Global$GlobalPlatform.externalEqualsNumChar$lzycompute(Global.scala:96)
    at scala.tools.nsc.Global$GlobalPlatform.externalEqualsNumChar(Global.scala:96)
    at scala.tools.nsc.backend.icode.GenICode$ICodePhase.genEqEqPrimitive(GenICode.scala:1498)
@scabug
Copy link
Author

scabug commented Dec 5, 2014

Imported From: https://issues.scala-lang.org/browse/SI-9030?orig=1
Reporter: @lrytz
Affected Versions: 2.11.4

@scabug
Copy link
Author

scabug commented Dec 5, 2014

@lrytz said (edited on Dec 11, 2014 3:44:12 PM UTC):
scala/scala#4196 and scala/scala#4197

@scabug scabug closed this as completed Jan 2, 2015
@scabug scabug added this to the 2.11.5 milestone Apr 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants