Alexey Sedunov
60022ddb56
Rename FindUsagesTest
2013-11-06 14:26:35 +04:00
Alexey Sedunov
bc9b2bf657
Add "Find Usages" tests for nested/inner classes and objects
2013-11-06 14:26:34 +04:00
Alexey Sedunov
f99e6e6765
Fix usage type detection for static members of Java classes and members of nested classes
2013-11-06 14:26:33 +04:00
Alexey Sedunov
40900ac16c
Reuse Java usage types
2013-11-06 14:26:32 +04:00
Alexey Sedunov
828f24406c
Move search helper options to constructor parameters
2013-11-06 14:26:32 +04:00
Alexey Sedunov
ec8eb97e0e
Disable override search for non-virtual properties
2013-11-06 14:26:31 +04:00
Alexey Sedunov
a0e90f38a2
"Find Usages": add tests for Kotlin usages of Java declarations
2013-11-06 14:26:30 +04:00
Alexey Sedunov
f41cfa2b8b
"Find Usages": separate Kotlin and Java tests
2013-11-06 14:26:29 +04:00
Alexey Sedunov
f1a7d707a0
Implement "Find usages" using UsagesSearch (classes, functions, properties)
2013-11-06 14:26:27 +04:00
Alexey Sedunov
e1fa8628ec
Implement search helpers for Kotlin declarations
2013-11-06 14:26:26 +04:00
Alexey Sedunov
790fb2acff
Implement UsagesSearch
2013-11-06 14:26:26 +04:00
Alexey Sedunov
6502f21144
JetUsageTypeProvider: Eliminate SELECTOR type, replace class with object
2013-11-06 14:26:25 +04:00
Alexey Sedunov
657b4a164c
Translate find usage options to Kotlin
2013-11-06 14:26:24 +04:00
Alexey Sedunov
992c7055a5
Translate FindUsagesUtils to Kotlin
2013-11-06 14:26:23 +04:00
Alexey Sedunov
8ca3f6a1ad
Translate JetFindUsagesProvider to Kotlin
2013-11-06 14:26:22 +04:00
Alexey Sedunov
d491f0337e
Translate KotlinFindUsagesHandlerFactory to Kotlin
2013-11-06 14:26:21 +04:00
Erokhin Stanislav
1a1c2902f0
JS backend: inline ClassDeclarationTranslator
2013-11-05 22:25:04 +04:00
Erokhin Stanislav
961c5fc0df
JS backend: drop ClassAliasingMap from ClassTranslator
2013-11-05 22:23:10 +04:00
Erokhin Stanislav
b958e453e8
JS backend: rewrite FileDeclarationVisitor use kotlin
2013-11-05 22:22:54 +04:00
Erokhin Stanislav
4a55f5a65e
JS backend: add simple enum test
2013-11-05 20:55:49 +04:00
Erokhin Stanislav
e9fe0070d7
JS backend: complete remove _c object from output code.
2013-11-05 20:55:49 +04:00
Erokhin Stanislav
6422167b5c
JS backend: first step of remove _c object from output code.
...
createClass -> createClassNow, createTrait -> createTraitNow, createObject -> createObjectNow
First argument of new createClass() is function, which return array of parent classes.
2013-11-05 20:55:49 +04:00
Erokhin Stanislav
b2f096f20a
JS backend: add debug info into several tests
2013-11-05 20:55:49 +04:00
Erokhin Stanislav
8ac00fa164
JS backend: refactor ClassTranslator
2013-11-05 20:55:49 +04:00
Erokhin Stanislav
bb6fd90bd9
JS backend: move StringBuilder to java.lang. Fix append return type.
2013-11-05 20:55:49 +04:00
Mohammad Shamsi
0c447c81ca
KT-4153 Fixed.
2013-11-05 18:37:13 +08:00
svtk
4d999bbb1f
Complete nested calls (arguments) for not successfully resolved calls.
...
When resolved call isn't single; when nested calls are unmapped arguments.
2013-11-01 15:26:14 +04:00
svtk
9023e96a07
in case of error set all arguments as unmapped
...
(not to forget to complete them later)
2013-11-01 15:26:14 +04:00
svtk
8c97beecb4
minor: assert instead of exception
2013-11-01 15:26:13 +04:00
svtk
eea08cf4e1
initialization of 'hasInferredReturnType' property
...
moved to its getter
2013-11-01 15:26:13 +04:00
svtk
28e4642289
comment added
2013-11-01 15:26:13 +04:00
svtk
d56b4d453c
added check that all resolved calls are completed to diagnostic tests
2013-11-01 15:26:13 +04:00
svtk
7709d3d8de
added flag 'isCompleted' to resolve call for tests
2013-11-01 15:26:13 +04:00
svtk
d2680bca22
extracted class BindingTraceContextWithoutScopeRecording
2013-11-01 15:26:13 +04:00
Svetlana Isakova
101b619513
refactoring: rename, fixes after review
2013-11-01 15:26:13 +04:00
svtk
9c60430ef2
store 'hasInferredReturnType' in resolved call
...
instead of trying to compute it later
2013-11-01 15:26:12 +04:00
svtk
f7be8ce953
refactoring: warnings eliminated
2013-11-01 15:26:12 +04:00
svtk
3c04b87f1a
Clean internal data for 'invoke' calls.
2013-11-01 15:26:12 +04:00
svtk
0f56559823
Clean internal data in resolved call after it's built.
...
Not to store heavy and unnecessary any longer traces in resolved call.
2013-11-01 15:26:12 +04:00
svtk
84eb0b37a2
Cache resolution results for properties as well.
...
There is no need to complete these results with expected type and analyze arguments, as property doesn't have arguments.
However, it's useful to clean internal resolution data through completion phase for properties like for functions.
2013-11-01 15:26:12 +04:00
Svetlana Isakova
d1fa39dee4
got rid of 'this' reference to constraint system in its resulting substitutor
2013-11-01 15:26:12 +04:00
Andrey Breslav
c3614c46cd
Do not keep scopes in the trace for CLI compiler
2013-11-01 15:26:12 +04:00
Svetlana Isakova
491305ff34
todo test improved analysis of unary expressions
...
added explicit 'isUnaryExpressionDependentOnExpectedType' check
2013-11-01 15:26:11 +04:00
Svetlana Isakova
c0890ccc37
improved debug message for temporary traces
...
added file name
2013-11-01 15:26:11 +04:00
Svetlana Isakova
af194ba2e8
added debugName to MemberType
2013-11-01 15:26:11 +04:00
Svetlana Isakova
381fd35e3e
do not store context in CallForImplicitInvoke
2013-11-01 15:26:11 +04:00
Andrey Breslav
b726b5070a
Do not use a method that is not present in some versions fo JPS
2013-10-31 18:31:00 +04:00
Mikhael Bogdanov
3ee9b8cbc5
Code rearrangment
2013-10-31 16:48:31 +04:00
Mikhael Bogdanov
ee2a30f34f
KT-4152 Wrong postfix increment/decrement calculation
...
#KT-4152 Fixed
2013-10-31 16:48:24 +04:00
Mikhael Bogdanov
7857dc5ba9
KT-3812 Can't work with akka via kotlin - java.lang.AssertionError: Couldn't resolve class *$
...
KT-4036 Couldn't resolve inner class akka.io.Tcp.Command.class
#KT-3812 Fixed
#KT-4036 FIxed
2013-10-31 16:42:54 +04:00