Commit Graph

13339 Commits

Author SHA1 Message Date
Evgeny Gerashchenko 75e550fe11 Removed namespaces from descriptor visitor. 2013-12-17 20:28:41 +04:00
Evgeny Gerashchenko 005b59e783 Inlined method. 2013-12-17 20:28:41 +04:00
Evgeny Gerashchenko b783175fb4 Removed ex-ModuleConfiguration classes. 2013-12-17 20:28:40 +04:00
Evgeny Gerashchenko d0605009ae Removed ModuleConfiguration. 2013-12-17 20:28:40 +04:00
Evgeny Gerashchenko 67f06c816b Reimplemented non-trivial logic of ModuleConfiguration. 2013-12-17 20:28:39 +04:00
Evgeny Gerashchenko 19d8f1394b Big refactoring continued. Migrating to package views and fragments. 2013-12-17 20:28:39 +04:00
Evgeny Gerashchenko 577fb25777 Got rid of useless nested class. 2013-12-17 19:18:33 +04:00
Evgeny Gerashchenko 7abe6a5b4a Big refactoring. Migrating to package views and fragments. 2013-12-17 19:18:33 +04:00
Evgeny Gerashchenko 369824cd2e Skipping error types when processing alternative signatures. 2013-12-17 19:18:32 +04:00
Evgeny Gerashchenko 6c9a5e6a5f Got rid of useless trace access. 2013-12-17 19:18:32 +04:00
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