scala / bug

Scala 2 bug reports only. Please, no questions — proper bug reports only.
https://scala-lang.org
232 stars 21 forks source link

RuntimeAnnotation class is needed #32

Closed scabug closed 11 years ago

scabug commented 17 years ago

There should be a RuntimeAnnotation class which would allow new annotations with RetentionPolicy.RUNTIME to be created in Scala. Currently, these have to be written in Java and compiled in a separate step.

scabug commented 17 years ago

Imported From: https://issues.scala-lang.org/browse/SI-32?orig=1 Reporter: @propensive See #7041

scabug commented 15 years ago

@odersky said: Milestone next_bugfix deleted

scabug commented 14 years ago

@dragos said: Lukas, I think this is for you.

scabug commented 13 years ago

timowest said: What is the status of this ticket? Missing support for runtime retention can be a severe blocker for Scala adoption in companies. Needing to use Java sources for annotations makes it difficult to convince sceptics of Scala. Please consider adding it in the near future.

Also what are the challenges in the implementation? If this would be trivial to implement, it would probably already be available.

scabug commented 13 years ago

@retronym said: See the recent discussion: https://groups.google.com/d/msg/scala-language/XWbSI1rKYns/6UDFhAzw4xoJ

scabug commented 11 years ago

Eric Pederson (ericacm) said: I just noticed that this bug has a Fix Version of 2.11.0-M3. Is that accurate? If so that would be terrific.

scabug commented 11 years ago

@adriaanm said: I'm afraid it looks like that was a glitch in a batch change. We're not currently planning to do this.

scabug commented 11 years ago

@adriaanm said (edited on Feb 28, 2013 2:28:31 AM UTC): As documented in the discussion linked above, this is a tough nut to crack. Contributions welcome. Alternatively, please contact Typesafe for commercial support.

scabug commented 11 years ago

@soc said: I'm not sure if "won't fix" is the correct resolution for this then ("community", "grand-challenge").

scabug commented 11 years ago

@lrytz said: Also related to #7041 and the discussion in https://github.com/scala/scala/pull/1924. I'm actually not at all convinced that "RuntimeAnnotation class is needed".

SethTisue commented 6 years ago

11 years later, @propensive takes matters into his own hands... https://twitter.com/propensive/status/962001573797822464