Commit Graph

985 Commits

Author SHA1 Message Date
Natalia.Ukhorskaya 2e5d18c440 Tests for loading enum descriptors from compiled java/kotlin code. 2012-08-21 21:40:48 +04:00
Natalia.Ukhorskaya 6920e497d5 JetDiagnosticsTest for using java enum in kotlin. 2012-08-21 21:40:47 +04:00
Andrey Breslav 5b77210c95 KT-2632 Check multi-declaraions in for-loops
#KT-2632 Fixed
2012-08-21 19:49:26 +04:00
Svetlana Isakova 47362bf2ac KT-2633 Support multiple assignment in JVM Back-end
#KT-2633 Fixed
2012-08-21 16:32:19 +04:00
Alexander Udalov ed1f22111b line number codegen tests 2012-08-21 16:31:29 +04:00
Alexander Udalov d38b965bf1 utilize JetTestUtils.createFile() in tests 2012-08-20 20:53:33 +04:00
Alexander Udalov 69b403783b multifile debugger tests 2012-08-20 19:29:14 +04:00
Alex Tkachman 354b61d9b5 Merge pull request #121 from goodwinnk/EA-35963
Test for EA-35963 (http://ea.jetbrains.com/browser/ea_problems/35963)
2012-08-20 08:22:15 -07:00
Svetlana Isakova 8860bab9f1 KT-2643 Support multi-declarations in Data-Flow analysis
#KT-2643 fixed
2012-08-20 18:48:09 +04:00
Andrey Breslav ecd1c17e47 Report type mismatch for component functions 2012-08-17 22:04:35 +04:00
Andrey Breslav 306c27a9bb Report error on local variables having no initializer and no type annotation 2012-08-17 22:04:35 +04:00
Andrey Breslav 2dc6691c1a DataFlowInfo taken into account when resolving component functions 2012-08-17 22:04:35 +04:00
Andrey Breslav b44c6f2d6e Tests for redeclarations with multi-decls 2012-08-17 22:04:35 +04:00
Svetlana Isakova a0da232ed3 KT-2631 Check multiple assignment - in progress
check multiple declaration without specified type annotation
2012-08-17 22:04:34 +04:00
Svetlana Isakova 3e5026407d rename 2012-08-17 22:04:33 +04:00
Svetlana Isakova ffc256f805 test for obsolete task
#KT-1358 fixed
2012-08-17 15:10:34 +04:00
Nikolay Krasko f9aea4c24c Test for EA-35963 (http://ea.jetbrains.com/browser/ea_problems/35963) 2012-08-17 15:06:56 +04:00
Svetlana Isakova d2e33c8900 tests for obsolete/fixed issues
#KT-1038 fixed
 #KT-1127 fixed
 #KT-1145 fixed
 #KT-1410 fixed
 #KT-1718 fixed
 #KT-2286 fixed
 #KT-1431 fixed
 #KT-2394 fixed
2012-08-16 18:39:24 +04:00
Svetlana Isakova 96d99d19f3 generates remove method
throwing exception
in Kotlin class extending Iterator
2012-08-16 18:39:24 +04:00
Svetlana Isakova 2c0ec86603 hasNext invocation changed 2012-08-16 18:39:23 +04:00
Svetlana Isakova 65ddcd0473 No repeat 'many impl member not implemented' error
in a subclass if there is one in a superclass
2012-08-16 18:39:23 +04:00
Svetlana Isakova 6e67bd64fa test for KT-2407
#KT-2407 fixed
2012-08-16 18:39:22 +04:00
Alex Tkachman 17a9772fee test for obsolete KT-1649 2012-08-16 15:48:45 +03:00
Alex Tkachman ca615aac3d KT-2350 fix: enums with overrides and constructor parameters 2012-08-15 20:25:35 +03: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 e5820722ec fix failing CompileKotlinAgainstKotlinTest 2012-08-13 17:08:21 +04:00
Alexander Udalov dcf2982288 copy-paste bug fix in test 2012-08-10 17:24:44 +04: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
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
Evgeny Gerashchenko e771fd234d Enabled PrimitiveTypesTest.testKt882 (seems that it was disabled erroneously. 2012-08-09 15:13:42 +04:00
Evgeny Gerashchenko 67304c64ff Removed unused myProject field from IntrinsicMethods. Removed from injector parameters, etc. 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
Natalia.Ukhorskaya 16bcc7967e Fixed KT-2543 Constructor and function parameter annotations are ignored 2012-08-08 16:39:12 +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 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
Alex Tkachman 8a29b8562d synthetic accessors for methods/properties are static methods in bytecode 2012-08-07 22:32:34 +03: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