Commit Graph

6987 Commits

Author SHA1 Message Date
Evgeny Gerashchenko e680567290 Restored test code for deserialized scopes. 2013-12-17 20:28:49 +04:00
Evgeny Gerashchenko d64cfa04e9 Simplified method. 2013-12-17 20:28:49 +04:00
Evgeny Gerashchenko 30e668634c Locking scopes of MutablePackageFragmentDescriptors. 2013-12-17 20:28:48 +04:00
Evgeny Gerashchenko 98ad890b60 Extracted method for finding exactly one fragment. 2013-12-17 20:28:48 +04:00
Evgeny Gerashchenko 1bbe9b0bd4 Removed DescriptorFinder.findPackage. 2013-12-17 20:28:47 +04:00
Evgeny Gerashchenko 557aaf363a Renamed method and got rid of some usages. 2013-12-17 20:28:47 +04:00
Evgeny Gerashchenko 5d0381f073 Using FqName instead of FqNameUnsafe for package predicate. 2013-12-17 20:28:45 +04:00
Evgeny Gerashchenko 28ef7495af Removed obsolete code in codegen for 'var' parameters captured in closure. 'Var' parameters are forbidden now. 2013-12-17 20:28:43 +04:00
Evgeny Gerashchenko e625a3a869 Cleanup of CheckLocalVariablesTableTest 2013-12-17 20:28:43 +04:00
Evgeny Gerashchenko 9d2b79c631 Migrated CliLightClassGenerationSupport to package views. 2013-12-17 20:28:42 +04:00
Evgeny Gerashchenko 7e4e3e849d Removed obsolete classes. 2013-12-17 20:28:42 +04:00
Evgeny Gerashchenko 303f2b8c4c Simplified BuiltinsReferenceResolver. 2013-12-17 20:28:42 +04:00
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 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 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
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
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
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
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 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 e179e6bb2f Utilize existing mapType methods
Fix warnings related to nullable CallableDescriptor.getReturnType()
2013-12-12 23:34:08 +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
Alexey Sedunov a802853ac6 Fix warnings 2013-12-12 17:30:58 +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 6913f42a97 Add support of light classes for local class/object declarations 2013-12-12 17:30:52 +04:00