Commit Graph

5276 Commits

Author SHA1 Message Date
pTalanov be98258ffa Change tests dependencies. 2012-05-04 16:15:03 +04:00
pTalanov bc204c1194 Finish tests fix 2012-05-04 16:00:40 +04:00
pTalanov 5ea8e0f697 Rollback commented out code.
Implement a hacky solution for the new "invoke" concept.
Fix most of the tests. (apart from 3)
2012-05-04 16:00:39 +04:00
Evgeny Gerashchenko 646cdefc51 Updated test.
#KT-1896 fixed
2012-05-04 15:46:40 +04:00
Evgeny Gerashchenko ee43f03e0a Changed quick doc information for references to Kotlin entities which are loaded from libraries.
#KT-1233 fixed
2012-05-04 15:43:31 +04:00
Svetlana Isakova 53397d7130 tests for KT-606 dependents & duplicates
#KT-1489 fixed
 #KT-1728 fixed
2012-05-04 14:54:12 +04:00
Nikolay Krasko 652b9e78c3 Tests for KT-1888
#KT-1888 fixed
2012-05-04 14:24:34 +04:00
Nikolay Krasko f02559afc7 Merge pull request #47 from Frostman/impl-ext-fun-fix
Fix for KT-1888 Incorrect automatic implementing of extension member
2012-05-04 03:22:39 -07:00
Evgeny Gerashchenko 85bc996f00 Changed tooltip text for vals captured in a closure.
#KT-1744 fixed
2012-05-04 12:48:54 +04:00
Sergey Lukjanov 442d09b4e0 Incorrect automatic implementing of extension property has been fixed. 2012-05-04 10:40:18 +04:00
Sergey Lukjanov ba5fadd677 Incorrect automatic implementing of extension function has been fixed. 2012-05-04 10:29:52 +04:00
Svetlana Isakova 335f0a6b5e 'isSafeCall' method added to ResolvedCall 2012-05-03 22:02:30 +04:00
Evgeny Gerashchenko 5846123de1 Made "Remove Explicitly Specified Type" available on property type. 2012-05-03 21:15:55 +04:00
Evgeny Gerashchenko d9fc85f6f5 Added test for "Specify type explicitly" for loop parameters.
#KT-1890 fixed
2012-05-03 21:04:43 +04:00
Evgeny Gerashchenko 14c7b6d74c Made "Specify type explicitly" intention available for loop parameters.
#KT-1890 fixed
2012-05-03 21:03:52 +04:00
Evgeny Gerashchenko 68c7e0d986 Made SpecifyTypeExplicitlyAction stateless. 2012-05-03 20:51:43 +04:00
Evgeny Gerashchenko e498348446 Got rid of unnecessary function copying in SpecifyTypeExplicitlyAction. 2012-05-03 20:51:43 +04:00
Evgeny Gerashchenko daecc45d69 Fixed problem when JetTypeElement was replaced by JetTypeReference, resulting in invalid PSI structure. 2012-05-03 20:51:42 +04:00
Evgeny Gerashchenko d228dc5f02 Specify type explicitly quick fix now has lower case of letters (due to naming convention of quick fixes) 2012-05-03 20:51:42 +04:00
Evgeny Gerashchenko bd3e2c6f4e Created SpecifyTypeExplicitlyFix which is subclass of SpecifyTypeExplictlyActions. 2012-05-03 20:51:42 +04:00
Evgeny Gerashchenko e17fa4a7cb Replaced overriding getText() with invocation of setText() in SpecifyTypeExplicitlyAction. 2012-05-03 20:51:42 +04:00
Evgeny Gerashchenko 40e8227502 Removed AddReturnTypeFix since it is not used. 2012-05-03 20:51:42 +04:00
Evgeny Gerashchenko 22010a5ae0 Changed RemovePartsFromPropertyFix so it uses SpecifyTypeExplicitlyAction.addTypeAnnotation() instead of AddReturnTypeFix.addPropertyType(). 2012-05-03 20:51:42 +04:00
Evgeny Gerashchenko c80ac15b8a Copied and rewritten adding type for functions. 2012-05-03 20:51:42 +04:00
Evgeny Gerashchenko ab96dcc69c Moved addTypeAnnotation/removeTypeAnnotation methods from refactoring package to SpecifyTypeExplicitlyAction. 2012-05-03 20:51:42 +04:00
Evgeny Gerashchenko 78ab4b6ae7 Added functions logic in SpecifyTypesExplicitlyAction. 2012-05-03 20:51:42 +04:00
Evgeny Gerashchenko 322578b773 Replaced AddReturnTypeFix with SpecifyTypeExplicitlyAction for properties. 2012-05-03 20:51:42 +04:00
Evgeny Gerashchenko c794435640 When type reference is unresolved, type of expression is considered error. 2012-05-03 20:51:42 +04:00
Evgeny Gerashchenko c0b78cd635 Added tests for SpecifyTypeExplicitlyAction. 2012-05-03 20:51:42 +04:00
Evgeny Gerashchenko 6d1bfce94a Implemented compacting type names and adding valid imports in specify type explicitly intention. 2012-05-03 20:51:42 +04:00
Svetlana Isakova 3053ac78e4 MUST_BE_WRAPPED_IN_A_REF was renamed to CAPTURED_IN_CLOSURE (immutable variables are stored there as well) 2012-05-03 19:30:13 +04:00
Stepan Koltsov f4527b8167 better method name 2012-05-03 18:30:47 +04:00
Stepan Koltsov fcee8a4133 test vararg string loading 2012-05-03 18:23:37 +04:00
Svetlana Isakova d4b816ef56 KT-1743 Analyze immutable local variables and parameters which are captured in closure
#KT-1743 fixed
2012-05-03 17:56:45 +04:00
Stepan Koltsov 08abd992c9 complicate kt471 test back 2012-05-03 17:39:08 +04:00
Alex Tkachman e18e35c40c KT-785 test 2012-05-03 16:20:28 +03:00
Alex Tkachman 25c804431b test for KT-606 2012-05-03 16:12:44 +03:00
Andrey Breslav 08c074c5be SubstitutionUtils extracted from TypeUtils 2012-05-03 17:08:43 +04:00
Stepan Koltsov d7cb2f2482 resolve idea classes 2012-05-03 17:05:37 +04:00
Stepan Koltsov 28dc1ba6be resolve int vararg from java 2012-05-03 17:05:37 +04:00
Stepan Koltsov e0ea953ba2 stdlib is not needed in ResolveDescriptorsFromExternalLibraries test 2012-05-03 17:05:37 +04:00
Andrey Breslav 086827d4ca Problematic diagnostics commented out
The commented code fails on CI server
2012-05-03 16:57:46 +04:00
Svetlana Isakova bdb7de142a Member 'invoke' of function class should be abstract 2012-05-03 16:15:08 +04:00
Andrey Breslav c5b7b5ad5a idea-full already contains junit4 2012-05-03 15:56:33 +04:00
Svetlana Isakova 04c2e1a64b Fallen (because of VariableAsFunctionResolvedCall change) javascript backend tests temporary commented 2012-05-03 14:46:06 +04:00
Svetlana Isakova 8723bbcac5 KT-1875 Safe call should be binded with receiver or this object (but not with both by default)
#KT-1875 fixed
2012-05-03 14:46:06 +04:00
Andrey Breslav 47934b1fe7 KT-1575 Can't define a fix-point generic type
#KT-1575 Fixed
2012-05-03 14:43:53 +04:00
Andrey Breslav 3bdc3167e8 Typo fixed 2012-05-03 14:43:53 +04:00
Alex Tkachman d58e988ca5 incorporating Sveta's patch on VariableAsFunctionResolvedCall 2012-05-03 12:56:51 +03:00
Leonid Shalupov 6626086abf fix standalone compiler build 2012-05-02 23:04:21 +04:00