Commit Graph

5775 Commits

Author SHA1 Message Date
Svetlana Isakova 0cd8534230 KT-2069 Cannot call super method when superclass has type parameters
#KT-2069 fixed
2012-06-04 18:56:48 +04:00
Andrey Breslav 84a3974460 Missing test data added 2012-06-04 18:55:36 +04:00
Andrey Breslav febb3c6a3d Recovery set extended
#KT-2172 Fixed
2012-06-04 18:44:09 +04:00
Alex Tkachman 83092c2471 Merge pull request #66 from NataliaUkhorskaya/master
Change invokespecial to invokevirtual for bridge methods
2012-06-04 07:03:50 -07:00
Natalia.Ukhorskaya a1a3dfac41 Change invokespecial to invokevirtual for bridge methods 2012-06-04 17:42:27 +04:00
Evgeny Gerashchenko 9c8da5ad9c Reverted some usages of JvmClassName(Class) constructor. They introduce conceptual problems, but not much profit. 2012-06-04 17:33:35 +04:00
Evgeny Gerashchenko af9ed4082b Renamed MethodWithAlternativeSignature test to MethodWithGenerics, since there will be more tests for methods with alternative signature. 2012-06-04 17:33:34 +04:00
Alex Tkachman 36ab7d88b5 fixfor KT-1999 breakpoints. no test provided 2012-06-04 16:09:01 +03:00
Evgeny Gerashchenko dce64d5166 Added JvmClassName(Class) constructor. Replaced some JvmClassName(String) usages with it. 2012-06-04 15:28:03 +04:00
Evgeny Gerashchenko e049bb00d8 Added simplest test for @KotlinSignature parsing. 2012-06-04 15:28:03 +04:00
Evgeny Gerashchenko 688b509b96 Implemented basic @KotlinSignature parsing. Now it works for functions without type parameters and varargs. 2012-06-04 15:28:02 +04:00
Evgeny Gerashchenko 08b19a72ab Added KotlinSignatureAnnotation wrapper class, and added it into PsiMethodWrapper. 2012-06-04 15:28:02 +04:00
Evgeny Gerashchenko 43e83956cc Introduced @KotlinSignature annotation to be used on methods. 2012-06-04 15:28:02 +04:00
Dmitry Jemerov 6e3c02b695 test for already fixed KT-1726 2012-06-02 23:27:34 +02:00
Dmitry Jemerov 2020446412 test for KT-1247 (duplicate of KT-1918) 2012-06-02 23:24:14 +02:00
Dmitry Jemerov 58666f3eb7 unwrap parentheses around range expressions in pattern matching conditions (KT-1742) (thanks to Sergey Mashkov for the suggested fix) 2012-06-02 23:17:42 +02:00
Dmitry Jemerov d55af2a948 test for KT-1578 (duplicate of KT-1980) 2012-06-02 23:08:05 +02:00
Dmitry Jemerov e1cecd10b2 allow putting an Invert operation on stack as a void type (KT-1634) 2012-06-02 23:05:09 +02:00
Dmitry Jemerov 58c7c7aea1 don't generate direct increment and similar bytecodes for variables which are captured in closure (KT-1980) 2012-06-02 22:41:37 +02:00
Dmitry Jemerov ba9c3d73e7 when calling extension function, correctly put receiver on top of stack if it was generated before the extension function object (KT-1918) 2012-06-02 19:50:14 +02:00
Dmitry Jemerov 46bc7cf12f less confusing formatting 2012-06-02 19:10:41 +02:00
Dmitry Jemerov 12498e30eb support putting the result of a dummy comparison to stack (KT-1899) 2012-06-02 18:19:27 +02:00
Dmitry Jemerov f909745d1b use correct nullability information when generating equality checks in pattern matching (KT-2148) 2012-06-02 17:59:19 +02:00
Stepan Koltsov d46379acf2 better JetTypeMapper.getFQName 2012-06-02 03:35:09 +04:00
Stepan Koltsov 99621537b5 fix tests 2012-06-02 03:35:09 +04:00
Stepan Koltsov e42b5017ac codegen: ClosureAnnotator: restore assertion 2012-06-02 03:08:55 +04:00
Stepan Koltsov d6e8c57d11 codegen: ClosureAnnotator: remove todo 2012-06-02 03:08:54 +04:00
Stepan Koltsov adac7a364c remove comments added my mistake 2012-06-02 02:55:42 +04:00
Stepan Koltsov 4a01a55480 do not store jvm class name in descriptor name 2012-06-02 02:55:42 +04:00
Stepan Koltsov fc6c57e17a assert special name is not used to build FQ name 2012-06-02 02:18:29 +04:00
Stepan Koltsov 139e376f7c fix KT-2167 (enum generation)
#KT-2167 fixed
2012-06-02 02:18:29 +04:00
Stepan Koltsov a5eaa3abe3 safer CodegenContext: require contextType to be not null 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
Andrey Breslav 0c916698b8 A workaround for VFS synchronization problem 2012-06-01 22:58:44 +04:00
pTalanov 4014855137 Try to avoid race condition in "configure Js module" action 2012-06-01 21:44:28 +04:00
Stepan Koltsov 98c80bfc73 do not store descriptors or JetTypes in CallableMethod 2012-06-01 19:18:56 +04:00
Stepan Koltsov ebd04ad046 pass all CallableMethod data in constructor 2012-06-01 19:18:56 +04:00
Stepan Koltsov 3512415f3f replace String with JvmClassName 2012-06-01 19:18:56 +04:00
pTalanov 39dc1a1cb8 revert 9f0fcc280b 2012-06-01 19:14:00 +04:00
pTalanov fd70848484 Logging in JsModuleDetector 2012-06-01 19:03:03 +04:00
Andrey Breslav c4f1779f90 Merge pull request #63 from udalov/master
String.hashCode()
2012-06-01 08:00:30 -07:00
pTalanov 843eb6b0c2 html file dialog path highlighting fixed 2012-06-01 18:49:54 +04:00
Andrey Breslav c9583c21cf Merge pull request #62 from NataliaUkhorskaya/master
KT-2124 & KT-2044: Android-related fixes
2012-06-01 07:31:01 -07:00
James Strachan 9f0fcc280b added support for generation of QUnit unit tests from Kotlin JUnit test cases 2012-06-01 15:25:35 +01:00
Nikolay Krasko 87b16b6a1f - Add sorting of completion elements into class completion
- Fix testNonStandardArray (it couldn't move selection to non-first element)
2012-06-01 18:19:19 +04:00
Stepan Koltsov 59bdeda408 replace String with JvmClassName for readability 2012-06-01 18:04:46 +04:00
Stepan Koltsov 563d5cfd03 better assertion in ExpressionCodegen 2012-06-01 18:04:46 +04:00
Stepan Koltsov aaa03100cf always call single constructor of VariableDescriptorImpl 2012-06-01 18:04:45 +04:00
Stepan Koltsov b984895e78 ScriptCodegen: extract gen constructor 2012-06-01 18:04:45 +04:00
Alexander Udalov 88ecb2a3c9 String.hashCode() 2012-06-01 17:59:28 +04:00