Closed scabug closed 12 years ago
Imported From: https://issues.scala-lang.org/browse/SI-5176?orig=1 Reporter: @gkossakowski
Commit Message Bot (anonymous) said: (grek in r25982) Allow to load $class classes using Scala reflection.
Tweaked implementation of invalidClassName method to exclude *$class clasess from the set of invalid names. It's not exactly clear what was the intent of this method in first place so I'm not sure if it's the best way to fix #5176. Added test-case that covers this issue.
Fixes #5176. Review by odersky.
This code says it all:
It fails at the moment for mysterious reason. Trying to investigate it.