Evgeny Gerashchenko
47dd399cdd
Regenerated tests.
2012-11-12 19:54:22 +04:00
Evgeny Gerashchenko
7b677d7ff1
Moved test generating code into TestsGenerator, got rid of duplicates.
2012-11-12 18:30:50 +04:00
Svetlana Isakova
2f77202d29
Refactoring: change signature
2012-11-12 15:32:12 +04:00
Svetlana Isakova
82e9d1f4fa
logic for fake value arguments creation
...
moved to 'resolveFakeCall' method
2012-11-12 15:32:12 +04:00
Svetlana Isakova
32391e217a
'resolveExactSignature' removed
2012-11-12 15:32:12 +04:00
Svetlana Isakova
a90db452ff
resolveFakeCall instead of resolveExactSignature
...
usage changed in tests
2012-11-12 15:32:12 +04:00
Svetlana Isakova
e9c8be8449
complete type inference only for one candidate
...
(the most specific)
to avoid exponential resolve of value arguments for several candidates
where type inference is incomplete (or depends on expected type)
2012-11-12 15:32:11 +04:00
Svetlana Isakova
dda3091dfb
'CANNOT_COMPLETE_RESOLVE' error added
2012-11-12 15:32:11 +04:00
Svetlana Isakova
eb5b551114
'moreSpecific' fix
...
if both functions are generic, no need to check receiver and parameters
before recursive call with substituted bounds
2012-11-12 15:32:11 +04:00
Svetlana Isakova
e7750c6dc7
OverloadingConflictResolver made singleton
2012-11-12 15:32:11 +04:00
Svetlana Isakova
adcb9e6e8a
moved code for successful / failed candidates separation
...
to ResolutionResultsHandler
2012-11-12 15:32:11 +04:00
Svetlana Isakova
a6f437d363
removed ResolutionStatus.TYPE_INFERENCE_ERROR constant
2012-11-12 15:32:11 +04:00
Natalia.Ukhorskaya
b5a3486131
Back-end: correct indexes of local variables for double and long
...
#KT-3033 Fixed
2012-11-12 15:03:54 +04:00
Natalia.Ukhorskaya
94fbf2bdf4
Add labels for extension properties
...
#KT-2824 Fixed
2012-11-12 13:23:00 +04:00
Andrey Breslav
d6c8b8683b
Failed test toutput improved
2012-11-12 11:52:59 +04:00
Andrey Breslav
0b6b8873b9
Module names in exception messages
2012-11-09 21:56:32 +04:00
Andrey Breslav
32745f1202
cli-common module extracted, to be used by the compiler-runner module
2012-11-09 21:56:29 +04:00
Andrey Breslav
3a96559ce2
TipsManager moved to idea module
2012-11-09 21:56:29 +04:00
Nikolay Krasko
0b33bf5ff6
Merge pull request #140 from crazyproger/KT-1985
...
KT-1985 Creating class body in time of override/implement, if necessary
2012-11-09 08:52:44 -08:00
Nikolay Krasko
cb602496e3
Index for top level objects
2012-11-09 14:49:27 +04:00
Nikolay Krasko
dc5402337a
KT-2796 Variable name is not completed in the receiver position of a chained call
...
#KT-2796 Fixed
2012-11-09 14:49:26 +04:00
Nikolay Krasko
8bb6b651b0
Fix bug - search in classDescriptorCache with javaClassToKotlinFqName
2012-11-09 14:49:24 +04:00
Nikolay Krasko
c081ced616
KT-2499 If Java class is imported, it is visible in completion three times: as Java class, Kotlin class and package
...
- Add java trace into delegation for lazy resolve session
#KT-2499 Fixed
2012-11-09 14:49:23 +04:00
Evgeny Gerashchenko
b88336d663
Added detailed comments for submethods of isTypeErased() and buildDeepSubstitutionMultimap()
2012-11-08 22:02:52 +04:00
Evgeny Gerashchenko
04eefb4244
Extracted methods from isCastErased.
2012-11-08 22:02:52 +04:00
Evgeny Gerashchenko
e691a0bc93
Considering variances when checking for erased casts.
2012-11-08 22:02:52 +04:00
Evgeny Gerashchenko
b3311f717d
Deep substitution now doesn't lose variance info.
2012-11-08 22:02:51 +04:00
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
Vladimir Rudev
0dabbbeed5
KT-1985 Creating class body on override/implement if necessary
2012-11-07 19:50:41 +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