Commit Graph

1016 Commits

Author SHA1 Message Date
Alex Tkachman ca615aac3d KT-2350 fix: enums with overrides and constructor parameters 2012-08-15 20:25:35 +03:00
Andrey Breslav ee5f598836 Wrong test data fixed (previously commited by mistake) 2012-08-15 18:11:47 +04:00
Alex Tkachman 813c7d0871 test for obsolete KT-1119 & proper final flag for enum class with entries overriding methods/properties 2012-08-15 16:06:06 +03:00
Alex Tkachman 31db3456ca enum entries which overrides methods 2012-08-15 15:56:34 +03:00
Andrey Breslav 00305ba920 Fixing interdependency between delegation and fake overrides
Main changes sit in OverrideResolver::generateOverridesAndDelegationInAClass()

Now fake overrides AND delegation are generated for supertypes before any processing is done for subclasses.
2012-08-15 16:15:04 +04: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
Alexander Udalov 9350369fab Fixed codegen for single-branch if
#KT-2597 Fixed
 #KT-2598 Fixed
2012-08-10 14:39:34 +04:00
Evgeny Gerashchenko 5d8de8fbd2 KT-2596 Can't use iterator in for-loop
#KT-2596 fixed
2012-08-09 19:14:31 +04:00
Evgeny Gerashchenko 1bc99ef19a KT-2579 Rename Range.minus() to reversed and make it extension
#KT-2579 fixed
2012-08-09 19:14:14 +04:00
Evgeny Gerashchenko 577d83605f Made test for KT-821 actually testing creation of ranges using constructors, but not "minus" operator. 2012-08-09 19:14:14 +04:00
Andrey Breslav 8dd9225411 Object descriptors for enum entries created properly 2012-08-09 17:35:21 +04:00
Andrey Breslav 2386757e7c Serializing inner objects in NamespaceComparator
+ duplicating test removed
2012-08-09 17:35:21 +04:00
Alex Tkachman 7f80deeb9a test for obsolete KT-2246 2012-08-09 14:27:33 +03:00
Evgeny Gerashchenko 0124c7bb5a KT-2583 Support *Range.EMPTY
#KT-2583 fixed
2012-08-09 15:13:42 +04:00
Alex Tkachman 231dda6002 test for obsolete KT-1528 2012-08-09 14:10:17 +03:00
Alex Tkachman 6af235fe2b KT-2589 fix: putting some order on bytecode flags 2012-08-09 13:35:44 +03:00
Alexander Udalov f5e9786ffc fix javaClass function and property
#KT-2318 Fixed
 #KT-2593 Fixed
2012-08-08 22:25:15 +04:00
Nikolay Krasko fea73b3dce getObjectDescriptors() for lazy classes 2012-08-08 17:37:38 +04:00
Alexander Udalov e5119da97a Multiple fixes for try-catch-finally codegen
#KT-2259 Fixed
 #KT-2577 Fixed
2012-08-08 15:35:23 +04:00
Nikolay Krasko 0faea1ed0b Chain scope for merging in lazy package descriptor 2012-08-08 15:23:41 +04:00
Evgeny Gerashchenko b1fa44aa4d Removed upto() and downto() member functions from number types
#KT-2519 fixed
2012-08-08 14:48:04 +04:00
Evgeny Gerashchenko a4031225d0 Changed usages of upto/downto in test to rangeTo and downTo, respectively.
#KT-2519 in progress
2012-08-08 14:48:04 +04:00
Svetlana Isakova 70c5a5ba9e KT-2505 Type mismatch: inferred type is T but T was expected
#KT-2505
2012-08-07 18:09:02 +04:00
Svetlana Isakova 9102622e02 more tests on type inference
#KT-2200 fixed
 #KT-2283 fixed
2012-08-07 18:09:02 +04:00
Svetlana Isakova 4b77e9b83a tests for obsolete tasks
#KT-2445 fixed
 #KT-2459 fixed
2012-08-06 18:18:27 +04:00
Svetlana Isakova f730c1357c KT-2484 Type inferred for function literal is (...) -> Int instead of (...) -> Unit, when function literal parameter is explicit
#KT-2484 fixed
2012-08-06 18:18:26 +04:00
Svetlana Isakova 679a678e7c choose the most specific candidate after type inference 2012-08-06 18:18:26 +04:00
Svetlana Isakova b24509577c added issue names in tests 2012-08-06 18:18:26 +04:00
Svetlana Isakova 036ce3c2e1 KT-2514 Type inference fails when using extension function literal
(check for bounds when inference is not complete added)
 #KT-2514 fixed
2012-08-06 18:18:26 +04:00
Svetlana Isakova 492d4da56d added variance handling to constraint system 2012-08-06 18:18:26 +04:00
Alexander Udalov 04b2477784 KT-2270 VerifyError when default value of constructor parameter is previous parameter
#KT-2270 Fixed
2012-08-06 16:32:36 +04:00
Alex Tkachman 68e436610c KT-1535 test for obsolete issue 2012-08-06 10:55:37 +03:00
Alex Tkachman 532c5b791c KT-454 test for obsolete issue 2012-08-06 10:47:51 +03:00
Alex Tkachman eaddf5db2d KT-2480 test for obsolete issue 2012-08-06 10:42:23 +03:00
Alex Tkachman 3f4a197184 KT-2417 fix: proper handling of !in 2012-08-06 10:33:27 +03:00
Alex Tkachman 59d58648bd KT-2275 fix: wrong coercion between nullable primitives 2012-08-06 09:25:20 +03:00
Alex Tkachman 2d63f6f970 KT-2271 fix: default param value refering another param 2012-08-06 08:28:38 +03:00
Alex Tkachman 9819095451 KT-1739: test for obsolete issue 2012-08-04 22:58:33 +03:00
Alex Tkachman fcab204459 KT-2210: Array<Array<T>> type mapping 2012-08-04 22:52:02 +03:00
Alex Tkachman 4e0e7fb943 KT-1892: initializers for extension properties 2012-08-04 22:07:21 +03:00
Alex Tkachman 186807a6d7 KT-1779: test for obsolete issue 2012-08-04 21:41:25 +03:00
Alex Tkachman 5c8863dafe typo while commit fixed 2012-08-04 21:30:39 +03:00
Alex Tkachman bf7bf194e6 KT-1733 test for obsolete issue 2012-08-04 21:29:28 +03:00
Alex Tkachman 454f0aaa15 KT-1936 codegen tests for issue which in fact frontend one 2012-08-04 21:20:28 +03:00
Alex Tkachman c4ff8ae452 KT-1846 proper visibility for constructor parameters properties 2012-08-04 20:13:48 +03:00
Alex Tkachman 0ecb02cc25 KT-2260 test for non reproducable (probably obsolete) issue 2012-08-04 19:23:41 +03:00
Alex Tkachman 3ca1cbf5a0 KT-1845 test for obsolete issue 2012-08-04 19:17:36 +03:00
Alex Tkachman e1e8c65a71 KT-2257 fix. private namespace visibility becomes protected in java land 2012-08-04 18:58:45 +03:00