|
[#1269] |
project: compiler |
priority: low |
category: bug |
|
submitter |
assigned to |
status |
date submitted |
|
Iulian |
Iulian |
open |
2007-08-08 11:36:24.0 |
subject |
[contrib #718] compiler does not mark some methods synthetic |
code |
class SyntheticBug {
val v1 = "any"
var v2 = "any"
def foo = 0
def methodNames {
val methods = classOf[SyntheticBug].getMethods()
methods.foreach(m => if (!m.isSynthetic()) println(m.getName()) )
}
}
|
what happened |
v2
$tag
methodNames
v1
foo
v2_$eq
hashCode
getClass
wait
wait
wait
equals
notify
notifyAll
toString
|
what expected |
methodNames
foo
hashCode
getClass
wait
wait
wait
equals
notify
notifyAll
toString |
[back to overview] |