Open CeylonMigrationBot opened 9 years ago
[@quintesse] No idea whatsoever. I can't remember ever having discussed it before (at the time it was implemented I mean).
[@tombentley] I don't recall. I seem to think there was a reason, though it might not be a good reason.
[@FroMage] Moving to 1.3
package-info.class
, but for the moment we still put Ceylon annotations on a class called $package_.class
.It would be tidier and less ambiguous if they were always put on package-info.class
. Doing that would involve:
Package
.shared
according to the annotation on package-info.OptionalAnnotation<...Package>
got mapped to @Target{PACKAGE}
@Target
.It would be a lot of work to do all of this in a binary compatible way.
If we're going to make this change, then now is best our opportunity!
[@FroMage] Was there a good reason for not compiling our packages to
package-info
classes so that we can place package annotations like in Java?[Migrated from ceylon/ceylon-compiler#2141]