Mikhail Glukhikh
f8a356747e
Stdlib rename: 'name' and 'ordinal' are now properties in Enum, same name functions are deprecated
2015-10-14 20:40:13 +03:00
Mikhail Glukhikh
b2653ad1e9
Deprecated enum syntax removed: most compiler tests
2015-08-10 16:24:12 +03:00
Pavel V. Talanov
8e6618920d
Minor: rename test data file
2014-10-10 18:05:36 +04:00
Alexander Udalov
86938f57b1
Remove codegen tests with Java, move testData to boxWithJava/
...
There'll be a single generated test class like
BlackBoxCodegenTestGenerated
2013-01-28 18:20:37 +04:00
Alexander Udalov
5313cf3bf0
Fix failing tests, copy testData
...
Some tests were using files that others called blackBoxFile() on. Since
those files are now moved to box/, copy them back to make the tests pass
2013-01-28 18:20:25 +04:00
Alexander Udalov
41a416da60
Move blackBoxFile() testData to box/ directory
...
Delete all test methods (and empty test classes), since they'll be
auto-generated
2013-01-28 18:20:17 +04:00
Alexander Udalov
5d92453532
Inaccessible outer class member is now an error
...
#KT-1174 In Progress
2013-01-16 23:11:41 +04:00
Pavel V. Talanov
7bb7445c57
Fix for invoking abstract method in enum
2012-11-19 20:18:45 +04:00
Natalia.Ukhorskaya
4db732c11b
KT-2948 Assertion fails on a local enum
...
#KT-2948 Fixed
2012-10-23 19:23:16 +04:00
Natalia.Ukhorskaya
32d707ca9b
Inner Java Enums
...
KT-2691 Fixed
KT-2686 Fixed
2012-09-24 12:33:58 +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
Alex Tkachman
0a2f808ec0
test case and fixes for object and classes inner for enum entry
2012-09-12 20:48:12 +03:00
Pavel V. Talanov
a28d78974b
Test data minor change.
...
Remove open for enum class (should be prohibited).
2012-08-29 15:58:24 +04:00
Natalia.Ukhorskaya
3d9ad3f6cb
ExpressionCodegen: take EnumEntry type from containingDeclarationDescriptor
...
JavaDescriptorResolver: pass to propertyDescriptor correct value of isObject parameter
2012-08-22 14:32:01 +04:00
Alex Tkachman
31db3456ca
enum entries which overrides methods
2012-08-15 15:56:34 +03:00
Alex Tkachman
87a8e0a5dc
enum classes are never inner
2012-08-15 10:44:33 +03:00
Natalia.Ukhorskaya
98ed261eb3
Fix android build
2012-08-14 12:25:06 +04:00
Alex Tkachman
5947759684
proper compilation of enums
2012-08-13 22:37:27 +03:00
Stepan Koltsov
139e376f7c
fix KT-2167 (enum generation)
...
#KT-2167 fixed
2012-06-02 02:18:29 +04:00
Stepan Koltsov
2d4ad5e408
EnumGenTest
...
enum geneneration is partially covered in regression tests, it is not very convenient
2012-06-02 02:18:28 +04:00