Commit Graph

13329 Commits

Author SHA1 Message Date
Evgeny Gerashchenko 3ccaa9f13e Minor. Dictionary. 2013-12-17 19:18:32 +04:00
Evgeny Gerashchenko 2a0d81a6fe Introduced package view and fragment classes. 2013-12-17 19:18:31 +04:00
Evgeny Gerashchenko 62c542341a Renamed NamespaceComparator → RecursiveDescriptorComparator. 2013-12-17 19:18:31 +04:00
Evgeny Gerashchenko 1b28fb50b9 Removed useless method. 2013-12-17 19:18:31 +04:00
Andrey Breslav b99753dd4f Builder class extracted 2013-12-17 19:18:30 +04:00
Svetlana Isakova 26f66eaea5 fixed INACCESSIBLE_OUTER_CLASS_EXPRESSION check
for extension lambda (with implicit this) in nested class
2013-12-17 19:04:41 +04:00
Svetlana Isakova 400e6d3f44 KT-4310 Check for definite returns
#KT-4310 Fixed
2013-12-17 19:04:40 +04:00
Andrey Breslav 43cc818506 Fixed: EA-52702 - IAE: JetControlFlowProcessor$CFPVisitor.getResolvedCall 2013-12-17 18:55:23 +04:00
Nikolay Krasko dbc1f6b42c Fix autopopup completion with irrelevant variants after typing 'f' suffix for float number
#KT-4312 Fixed
2013-12-17 17:43:13 +04:00
Natalia Ukhorskaya 31ad4f8451 Annotation parameter must be constant 2013-12-17 15:41:24 +04:00
Natalia Ukhorskaya 7a9d822070 'As' function for constants 2013-12-17 15:00:30 +04:00
Alexey Sedunov b4ad149e77 Replace getParentByTypePredicate with getParentByTypesAndPredicate 2013-12-17 01:41:20 +04:00
Alexey Sedunov e13abf2444 KT-4274 #Fixed 2013-12-17 01:41:19 +04:00
Alexander Udalov 59569f23cf Update to IDEA 133.286 EAP 2013-12-16 21:40:14 +04:00
Valentin Kipyatkov 5e20f509b7 Smart completion: minor code editing 2013-12-16 21:23:09 +04:00
Valentin Kipyatkov f22ba73a92 Smart completion: enum members to be listed after qualifier too 2013-12-16 21:23:09 +04:00
Valentin Kipyatkov db77eb54d7 Smart completion: java static members, enum members and class object members added 2013-12-16 21:23:08 +04:00
Natalia Ukhorskaya dbaaa80918 Add i2b cast boxing Int to Byte? or Short? (fix android tests) 2013-12-16 20:54:10 +04:00
Natalia Ukhorskaya 66effee8cd Fix safe call 2013-12-16 20:54:09 +04:00
Nikolay Krasko db8222c50a Disable reindex in tests 2013-12-16 19:39:42 +04:00
Nikolay Krasko 372106b914 KT-1043 'Implement Methods' throws a ClassCastException
#KT-1043 Obsolete
2013-12-16 19:39:42 +04:00
Natalia Ukhorskaya 0be28efa00 Regenerate tests 2013-12-16 17:12:41 +04:00
Natalia Ukhorskaya 4ef1af7d12 Cast unary intrinsics to expected type 2013-12-16 17:12:40 +04:00
Svetlana Isakova 20aa3409c7 variable as function call is safe
if one of variable or function calls is safe
2013-12-16 16:24:21 +04:00
Svetlana Isakova 846d5d7cfe initialize constructor of object as static one 2013-12-16 16:24:21 +04:00
Svetlana Isakova 4c41d19eb1 interpret class in class object as static nested class
removed hack in TaskPrioritizer for import class from class object
2013-12-16 16:24:21 +04:00
Svetlana Isakova 656cc16a81 fixed: explicit receiver kind for resolved call shouldn't be used as expected receiver kind for function 2013-12-16 16:24:21 +04:00
Svetlana Isakova 928f77ffce set explicit receiver kind properly for calls 2013-12-16 16:24:21 +04:00
Zalim Bashorov cf5174d798 Fixed the collection output of processes in integration tests. 2013-12-16 13:40:30 +04:00
Alexander Udalov 13214d2dec Update doc comments of utility functions on lists 2013-12-12 23:34:08 +04:00
Michael Zehender 6546d7a1e7 #KT-2341 Fixed 2013-12-12 23:34:08 +04:00
Alexander Udalov e179e6bb2f Utilize existing mapType methods
Fix warnings related to nullable CallableDescriptor.getReturnType()
2013-12-12 23:34:08 +04:00
Alexander Udalov d490a91f26 Delete unused code 2013-12-12 21:38:20 +04:00
Alexander Udalov cc1d4a033a Rename KotlinBuiltIns.isAny -> isAnyOrNullableAny
Reduce confusion, prevent bugs
2013-12-12 21:38:20 +04:00
Alexander Udalov 0576851102 Fix codegen for closures returning 'Unit?'
Only do a checkcast when we need to coerce Object to Unit: the code was
hopefully type-checked so that it'll only be necessary when the value is either
Unit.VALUE or null
2013-12-12 21:38:20 +04:00
Alexander Udalov 9e5c68a8f9 Fix KotlinBuiltIns.isUnit
It didn't check type's nullability
2013-12-12 21:38:20 +04:00
Alexander Udalov 2892907947 Delete Enum.name()/ordinal() JVM intrinsics
Bytecode is the same if they're generated as is from descriptors

+ Some minor code style improvements
2013-12-12 21:38:20 +04:00
Alexander Udalov 523ad697c7 Minor, fix/suppress warnings in codegen 2013-12-12 21:38:19 +04:00
Alexander Udalov 0215f892a6 Minor, simplify method 2013-12-12 21:38:19 +04:00
Nikolay Krasko 161af7003d Lost import 2013-12-12 18:58:31 +04:00
Nikolay Krasko bbe85f2533 Stop sending requests if tool window isn't visible 2013-12-12 18:50:48 +04:00
Nikolay Krasko fcf81f42e2 Refactoring: Rename classes 2013-12-12 18:50:47 +04:00
Alexey Sedunov a802853ac6 Fix warnings 2013-12-12 17:30:58 +04:00
Alexey Sedunov fb831a9a2a Add "Find Usages" tests for local classes/objects 2013-12-12 17:30:57 +04:00
Alexey Sedunov 8981208ac9 Rename "Find Usages" tests 2013-12-12 17:30:57 +04:00
Alexey Sedunov 1095c51d6a Reimplement "Find Usages" using KotlinClassInheritorsSearch 2013-12-12 17:30:56 +04:00
Alexey Sedunov 39211e4759 Implement class inheritors search 2013-12-12 17:30:55 +04:00
Alexey Sedunov d261fe8726 Core classes for declaration search 2013-12-12 17:30:54 +04:00
Alexey Sedunov f35c77e731 Move search extensions to separate package 2013-12-12 17:30:53 +04:00
Alexey Sedunov eb6ae2f772 Translate KotlinDirectInheritorsSearcher to Kotlin. Reuse PsiClass.isInheritor() 2013-12-12 17:30:53 +04:00