Prohibited @Strictfp annotation on classes (it's not supported yet), Fix for KT-11109: Strictfp annotation do nothing when applied to class

#KT-11109 Fixed
This commit is contained in:
Michael Bogdanov
2016-02-25 11:14:23 +03:00
parent 894c11d412
commit 1b94904684
4 changed files with 39 additions and 1 deletions
@@ -41,7 +41,7 @@ annotation class Transient
* of floating point operations performed inside the method needs to be restricted in order to
* achieve better portability.
*/
@Target(FUNCTION, CONSTRUCTOR, PROPERTY_GETTER, PROPERTY_SETTER, CLASS)
@Target(FUNCTION, CONSTRUCTOR, PROPERTY_GETTER, PROPERTY_SETTER)
@Retention(AnnotationRetention.SOURCE)
@MustBeDocumented
annotation class Strictfp