Aladdin - Scala Bugtracking
[#973] project: compiler priority: low category: bug
submitter assigned to status date submitted
Nikolay Martin fixed 2007-03-01 16:39:28.0
subject Annotation class definitions should only be allowed at top level
code
class A {
  class Ann extends scala.Annotation
}
what happened
Accepted by the compiler
what expected Should be rejected. Such annotations don't make sense (name mangling, outer pointers, etc). This should also be specified.
[back to overview]
Changes of this bug report
Martin  edited on  2007-03-05 22:27:04.0