Alexander Udalov
b612989eb0
Remove 'inner enum' hack & fix Java inner class resolve
...
Inner enum was placed into the class object of the outer class. Remove the
hack from frontend, frontend.java & backend. Fix tests
#KT-1174 In Progress
2013-01-16 23:11:47 +04:00
Alexander Udalov
37fd9cea08
Place inner enum into its parent's class object
...
#KT-2771 In Progress
ClassifierCollector now collects all enum declarations inside non-static
classes. After all declarations are done, it processes these enums: creates
a class object if it's not present, reports errors on each enum if a class
object is not allowed, and puts every enum into this class object otherwise,
recording this fact to trace.
2012-09-20 15:02:13 +04:00
Nikolay Krasko
db830c88b4
EA-38787 Exception because of enumeration without name
2012-09-18 19:26:56 +04:00
Natalia.Ukhorskaya
694f1f45f8
KT-2714 'enum' annotation should only be allowed on classes
...
#KT-2714 Fixed
2012-09-17 15:27:49 +04:00
Natalia
4303083945
KT-322 Prohibit inheriting classes from enums
...
#KT-322 Fixed
2012-09-06 17:24:37 +04:00
Natalia
07cf73ecef
KT-2697 Prohibit enum inheritance
...
#KT-2697 Fixed
2012-09-06 17:24:36 +04:00
Andrey Breslav
c027b4149b
Test for KT-2529 Support importing enum members using wildcard
...
#KT-2529 Fixed
2012-08-31 14:38:54 +04:00
Natalia.Ukhorskaya
2c4960b4fb
Test for abstract function in java enum.
2012-08-21 21:40:51 +04:00
Natalia.Ukhorskaya
6920e497d5
JetDiagnosticsTest for using java enum in kotlin.
2012-08-21 21:40:47 +04:00