Commit Graph

5796 Commits

Author SHA1 Message Date
Evgeny Gerashchenko a4c4e2b0f1 Added alternative signature test for method with type parameters. 2012-06-05 15:59:18 +04:00
Evgeny Gerashchenko 247e3978d9 Moved alternative signature parsing logic from JDR to separate class. 2012-06-05 15:59:17 +04:00
Evgeny Gerashchenko 968d159f86 Fixed NPE when no type ref is specified in Kotlin signature. 2012-06-05 15:59:17 +04:00
Leonid Shalupov cbd4004d44 update ReadMe for maven 2012-06-05 15:35:18 +04:00
Andrey Breslav c43c5fb697 Initial lazy resolve test comparing descriptors with the existing resolve mechanisms 2012-06-05 15:24:58 +04:00
Andrey Breslav 96d7d8414d ModuleDescriptor now supports lazy root namespaces 2012-06-05 15:24:58 +04:00
Andrey Breslav 3bf7c37c77 Annotations on classes and class objects supported 2012-06-05 15:24:58 +04:00
Andrey Breslav c57eb23e25 Primary constructors supported 2012-06-05 15:24:58 +04:00
Andrey Breslav 3ee6d759f8 getAllDescriptors() supported 2012-06-05 15:24:58 +04:00
Andrey Breslav eb0ac1dc8c Code and workflow simplified in NamespaceComparator 2012-06-05 15:24:58 +04:00
Leonid Shalupov f172d99f68 update repositories in maven examples 2012-06-05 14:10:06 +04:00
Dmitry Jemerov 23cdde5794 test for already fixed KT-1976 2012-06-05 11:51:36 +02:00
Stepan Koltsov e0ac80a7ce simplify ConstructorDescriptorImpl.getExpectedThisObject
(remove never-executed code)
2012-06-05 00:59:48 +04:00
Stepan Koltsov 9376313fd0 extract method 2012-06-05 00:59:47 +04:00
Stepan Koltsov 9f4e466898 adjust ExpressionCodegen.resolveToCallable parameter type 2012-06-05 00:59:46 +04:00
Leonid Shalupov b243c5765d publish compiler with attach-artifact in maven 2012-06-04 23:47:25 +04:00
pTalanov 2fe8ec7443 Restore JsModuleDetector.iisJsProject to avoid compilation error 2012-06-04 21:32:05 +04:00
pTalanov 4f89d8be3e JS IDE: Replace indication file with module component
Introduce K2JSModuleComponent
Partially replace references to project with references to module (Should be able to tell which facade to use based on what module we are in)
#KT-2064 fixed
2012-06-04 21:12:11 +04:00
Nikolay Krasko d55d2c7bcf Add monitoring for out-of-block-modification in function literals 2012-06-04 20:30:39 +04:00
Nikolay Krasko 0096430455 KT-2178 Remove Java declaration from completion for JS projects
#KT-2178 In Progress
2012-06-04 20:30:38 +04:00
Nikolay Krasko 3c4fdc0534 Fix "Type can be weakened" warning 2012-06-04 20:30:37 +04:00
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