Commit Graph

8505 Commits

Author SHA1 Message Date
Evgeny Gerashchenko 3f18bb6d4b Minor. Better parameters/variables naming. 2012-11-08 22:02:51 +04:00
Evgeny Gerashchenko 992d84d920 Fixed IsReified diagnostic test. Now it really checks for reified type. 2012-11-08 22:02:51 +04:00
Evgeny Gerashchenko 266313a02e Replaced List and Collection with mutable analogs. 2012-11-08 22:02:51 +04:00
Evgeny Gerashchenko 3318804030 Rearranged code in isCastErased() 2012-11-08 22:02:50 +04:00
Evgeny Gerashchenko 5b61785306 Minor. Added "final" and private constructor in PositioningStrategies. 2012-11-08 22:02:50 +04:00
Evgeny Gerashchenko 8365cee0b5 Fixed bug in TypeUtils.intersect().
For "Foo", "Foo?" it returned "{Foo}" instead of "Foo"
2012-11-08 21:59:17 +04:00
Andrey Breslav 45df349f16 EA-40126 - assert: StandardLibraryReferenceResolver.ensureInitialized
Working around the VFS refresh problem
2012-11-08 14:25:50 +04:00
Vladimir Rudev 5f5d375a36 fixed cosmetic issues 2012-11-08 13:20:36 +04:00
Alexey Sedunov 8cff709bfb #KT-3023 Fixed 2012-11-07 18:33:21 +04:00
Alexander Udalov 415b6f8efe Generate bridges for super-calls only when needed
#KT-2887 Fixed
2012-11-07 17:06:19 +04:00
Alexander Udalov 89b8bbec57 Do not add extra 'this' parameter for TImpl's accessor
Fixes weird cases like super-call from a closure inside a trait with a required
class
2012-11-07 17:06:18 +04:00
Alexander Udalov 2edb89b5c5 Refactor mysterious code in ExpressionCodegen
'super' receiver is now generated in visitSuperExpression()
2012-11-07 17:06:17 +04:00
Alexander Udalov 73282c41dc Remove useless StackValue.valueOf() 2012-11-07 17:06:16 +04:00
Alexander Udalov a9aef66b15 Remove useless StackValue.upcast() 2012-11-07 17:06:16 +04:00
Alexander Udalov e89ccf5f1b A couple toString() methods in backend 2012-11-07 17:06:15 +04:00
Alexander Udalov cd35a6626e KT-2963 VerifyError using traits with required classes
#KT-2963 Fixed
2012-11-07 17:06:14 +04:00
Natalia.Ukhorskaya f139b637f3 Automatically cast error for intrinsic methods in array
#KT-2997 Fixed
2012-11-07 16:28:46 +04:00
Pavel V. Talanov e9bf09d240 Rename class: Origin -> DeclarationOrigin 2012-11-07 16:12:57 +04:00
Pavel V. Talanov a657a19253 Fix TypeConstructor#getSupertypes() return type 2012-11-07 16:12:56 +04:00
Pavel V. Talanov daf9c6f2c1 Add TODO 2012-11-07 16:12:56 +04:00
Pavel V. Talanov d1057348da Refactor JavaNamespaceResolver#createNamespaceData 2012-11-07 16:12:55 +04:00
Pavel V. Talanov 9fbecf515e Move NamedMembers and MembersCache to provider package 2012-11-07 16:12:54 +04:00
Pavel V. Talanov 940aba04ff Rename package: data -> provider 2012-11-07 16:12:53 +04:00
Pavel V. Talanov b3e9a78f45 Rename: NamespaceScopeData -> PackagePsiDeclarationImpl 2012-11-07 16:12:52 +04:00
Pavel V. Talanov f0b99848ec Refactor: remove ResolverClassData class 2012-11-07 16:12:51 +04:00
Pavel V. Talanov 51c369db5e Refactor: group methods for creating *PsiDeclarationProvider 2012-11-07 16:12:50 +04:00
Pavel V. Talanov 791120a2be Refactor: remove ResolverScopeData class, hack JavaBaseScope to use ClassPsiDeclarationProvider and PackagePsiDeclarationProvider interfaces
Compilation errors fixed
2012-11-07 16:12:50 +04:00
Pavel V. Talanov 5405b03f21 Refactor: restructure Resolver*Data class hierarchy
Compilation errors still present
2012-11-07 16:12:49 +04:00
Pavel V. Talanov 89c5bef6eb Refactor: introduce and use PackagePsiDeclarationProvider instead of ResolverNamespaceData 2012-11-07 16:12:48 +04:00
Pavel V. Talanov adc0e1fce1 Refactor: use ClassPsiDeclarationProvider instead of ResolverClassData 2012-11-07 16:12:47 +04:00
Pavel V. Talanov 811a65826b Refactor: introduce ClassPsiDeclarationProvider and PsiDeclarationProvider interfaces, use them in JavaFunctionResolver and JavaPropertyResolver 2012-11-07 16:12:46 +04:00
Pavel V. Talanov 1c70daa499 Refactor: use getOrigin instead of isKotlin() 2012-11-07 16:12:45 +04:00
Pavel V. Talanov 414f5ea2cb Refactor: clean up ResolverScopeData and introduce Origin enum 2012-11-07 16:12:45 +04:00
Pavel V. Talanov ea7f0ff6e5 Minor refactoring 2012-11-07 16:12:44 +04:00
Pavel V. Talanov 5a7c1551d2 Refactor: fix ResolverClassData constructor 2012-11-07 16:12:43 +04:00
Pavel V. Talanov 02c28943a0 Minor refactor 2012-11-07 16:12:42 +04:00
Pavel V. Talanov 35f28e7684 Refactor: remove ResolverScopeData#getFqName() 2012-11-07 16:12:41 +04:00
Pavel V. Talanov db5c04b360 Refactor: inject ResolverClassData in constructor of ClassDescriptorFromJvmBytecode 2012-11-07 16:12:40 +04:00
Pavel V. Talanov 44031be74c Refactor: eliminate remaining usages of ResolverScopeData#getClassOrNamespaceDescriptor() 2012-11-07 16:12:40 +04:00
Pavel V. Talanov f5cd36a9d2 Refactor: eliminate most of ResolverScopeData#getClassOrNamespaceDescriptor() usages 2012-11-07 16:12:39 +04:00
Pavel V. Talanov b18ffa52fa Refactor eliminate remaining usages of ResolverClassData#getClassDescriptor() 2012-11-07 16:12:38 +04:00
Pavel V. Talanov b2af761207 Refactor: Eliminate some usages of ResolverClassData#getClassDescriptor() 2012-11-07 16:12:37 +04:00
Pavel V. Talanov bf97738991 Eliminate usages of ResolverClassData#getClassDescriptor() in DescriptorResolverUtils#getSupertypes() 2012-11-07 16:12:36 +04:00
Pavel V. Talanov 956a34b578 Refactor ClassDescriptorFromJvmBytecode: remove ClassDescriptorFromJvmBytecode#getResolverBinaryClassData 2012-11-07 16:12:35 +04:00
Pavel V. Talanov c808aa398c Refactor Resolver*Data 2012-11-07 16:12:35 +04:00
Pavel V. Talanov 1eea128b29 Restructure JavaClassResolver caches to contain ClassDescriptor instead of ResolverClassData 2012-11-07 16:12:34 +04:00
Pavel V. Talanov aa5793d6d0 Refactor JavaNamespaceResolver and ResolverNamespaceData
Remove reference to JavaBaseScope from ResolverNamespaceData
2012-11-07 16:12:33 +04:00
Pavel V. Talanov 86e93e3c22 Restructure caches in JavaNamespaceResolver 2012-11-07 16:12:32 +04:00
Pavel V. Talanov 2eb017fa1e Remove redundant parameter from JavaDescriptorResolver#getJavaPackageScope
Minor warnings fixed in affected files
2012-11-07 16:12:31 +04:00
Pavel V. Talanov 7d6df99bfc Minor refactoring 2012-11-07 16:12:30 +04:00