Mikhael Bogdanov
373d0ac660
Fix ultra light class generation for private suspend methods
2021-03-01 16:20:20 +01:00
Kevin Bierhoff
c1360c5a7a
Uast: resolve reified callees from classpath ( #4013 , KT-41279)
2021-01-14 20:29:03 +03:00
Kevin Bierhoff
c90546104e
Uast: partial fix for reified functions resolve ( #3923 , KT-41279)
...
doesn't take into account compiled reified functions from jars
2020-11-25 18:21:14 +03:00
Igor Yakovlev
309bf49a83
Update lightclass tests renderer
...
+mute invalid old light classes tests
2020-09-11 12:49:04 +03:00
Nicolay Mitropolsky
c93ae64546
Uast: KotlinClassViaConstructorUSimpleReferenceExpression resolve to PsiClass (KT-41290)
2020-08-26 16:13:13 +03:00
Yunir Salimzyanov
42da9e62db
Cleanup 192 patchset files (KTI-315)
2020-08-19 19:40:02 +03:00
Nicolay Mitropolsky
c254651ed3
Uast: handling annotations on the property receiver (KT-40539)
2020-07-29 19:42:22 +03:00
Kevin Bierhoff
fa8c6e7fb6
Uast: KT-40578: resolve Kotlin property writes to setters ( #3597 )
...
* KT-40578: resolve Kotlin property writes to setters
* limit to non-constructor properties
* Uast: `KotlinIDERenderLogTest.testConstructors` fix
Co-authored-by: Nicolay Mitropolsky <nicolay.mitropolsky@jetbrains.com >
2020-07-28 10:03:22 +03:00
Nicolay Mitropolsky
f7031e65ba
Uast: don't throw exception if can't get a receiver parameter for annotation (KT-40494)
2020-07-23 10:33:44 +03:00
Nicolay Mitropolsky
e60a32e8d3
Uast: UastFakeLightMethod dependent generic type SOE fix KT-39155
2020-05-28 17:53:30 +03:00
Nicolay Mitropolsky
70237ecf31
Uast: explicitly expose implicit Lambda parameters
2020-05-26 17:39:43 +03:00
Nicolay Mitropolsky
6ae7d53a93
Uast: support extendsList for reified types (KT-38173)
2020-05-06 15:31:20 +03:00
Nicolay Mitropolsky
43549baf58
Revert "Uast: forcing kotlin.uast.force.uinjectionhost=true always"
...
This reverts commit e4b7c391
2020-05-06 15:31:20 +03:00
Nicolay Mitropolsky
00b44c1e68
Uast: making KotlinStringTemplateUPolyadicExpression.operands always non-empty (EA-231393)
2020-05-06 15:31:19 +03:00
Nicolay Mitropolsky
b7e715045a
Uast: skip KtWhenConditionWithExpression in UAST (KT-38521)
...
when building parents, because they are anyway ignored in converter
2020-05-06 15:31:19 +03:00
Nicolay Mitropolsky
903f35ce0c
Uast: don't fall on empty when entries (EA-231339)
2020-05-06 15:31:19 +03:00
Nicolay Mitropolsky
9674643254
Uast: support for UYieldExpression (KT-35574)
2020-04-14 18:27:34 +03:00
Nicolay Mitropolsky
89863bd2a3
Uast: unifying resolve to two methods resolveToDeclaration and resolveToPsiMethod
2020-04-09 16:38:12 +03:00
Nicolay Mitropolsky
ab36e20b1b
Uast: resolving local calls (KT-36275)
2020-04-09 16:38:11 +03:00
Nicolay Mitropolsky
6803b37d14
Uast: Making AbstractKotlinResolveEverythingTest test also UCallExpression
...
current test data is just frezing the current state which is probable incorrect
2020-04-09 16:38:11 +03:00
Mikhail Zarechenskiy
86fd4da567
[UAST] Fix mapping types containing type aliases
...
#KT-27935 Fixed
2020-04-08 01:25:14 +03:00
Nicolay Mitropolsky
3f00de5d7b
Uast: fallback to call braces in getting the anchor for call-expressions in complex cases (KT-36273)
2020-03-31 11:56:31 +03:00
Nicolay Mitropolsky
872b140500
Uast: support for annotated expressions (KT-35801)
2020-03-30 11:58:51 +03:00
Nicolay Mitropolsky
c4bd1ce73c
Uast: considering top reified functions as static (KT-37613)
2020-03-30 11:58:51 +03:00
Nicolay Mitropolsky
0ca67c1bac
Uast: handling reified methods receivers (KT-37613)
2020-03-30 11:58:51 +03:00
Nicolay Mitropolsky
2eb6f1988d
Uast: process catch parameters and finally blocks (KT-35804)
2020-03-26 12:55:45 +03:00
Nicolay Mitropolsky
f1d5570ca1
Uast: include parameters of reified methods to uast tree (KT-37613)
2020-03-26 12:55:44 +03:00
Ilya Chernikov
6356807997
Reapply "Only create descriptors for candidates with lambda args"
...
#KT-36247 fixed
A lot of testdata changed because significanly less (error) descriptors
are created for unresolved types, so diagnostics became different.
2020-02-14 11:41:30 +01:00
Yan Zhulanow
b1414fa477
EA-214662: Support property accessors in UastLightIdentifier
2020-02-14 17:35:18 +09:00
Nicolay Mitropolsky
e4b7c39110
Uast: forcing kotlin.uast.force.uinjectionhost=true always
2020-02-13 15:54:48 +03:00
Pavel Kirpichenkov
572dee6835
Revert "Only create descriptors for candidates with lambda args"
...
This reverts commits:
349d07ad43
2249c223fe
Revert due to differences in test data with NI enabled
^KT-36247 Open
2020-02-12 20:52:30 +03:00
Ilya Chernikov
2249c223fe
Only create descriptors for candidates with lambda args
...
#KT-36247 fixed
2020-02-10 14:21:02 +01:00
Nicolay Mitropolsky
222ceb7698
Uast: fix for Lambda in place call identifiers (KT-35432)
2020-01-29 19:57:43 +03:00
Nicolay Mitropolsky
ac3a8eb494
Uast: fixes for Enum identifiers (KT-35432)
2020-01-29 19:57:43 +03:00
Nicolay Mitropolsky
54285d328f
Uast: KotlinIDERenderLogTest for running UAST tests with ULC
...
In case of result difference the `-ide`-suffixed testdata is used.
Actually the difference in results is more likely to be a bug
but currently we are fixating at least some behaviour to protect from
unexpected regressions in Ultra Light Classes.
`object Local` were removed because there is no local objects in actual
Kotlin syntax
2020-01-14 19:48:40 +03:00
Nicolay Mitropolsky
ed4e73c8e9
Uast: the returnType support for light methods for reified functions (KT-35610)
2020-01-09 11:55:22 +03:00
Nicolay Mitropolsky
c04ba009e6
Uast: properly handling annotations on destructured variables (KT-35673, EA-220128)
2020-01-09 11:55:22 +03:00
Michael Kuzmin
254dc8f71c
Build: Drop IntelliJ 2018.3 and Android Studio 3.4 support
...
Delete *.183 and *.as34 bunch-files
2019-12-19 18:31:07 +03:00
Pavel Kirpichenkov
3de6289c6c
[NI] Run completion on subatoms of error calls
...
Call transformer previously ran completion of argument atoms
only for non-error candidates. This led to missing diagnostics,
i.e. from collection literal resolver.
Now arguments of calls resolved to error descriptor are completed,
with exception to not found provideDelegate calls.
provideDelegate's subatoms are not completed after failure, because
it is a part of delegate competion, which does not end with
unresolved provideDelegate.
Completing after provideDelegate failure removes constraint system
from resolved arguments, which breaks resolve for get/setValue.
^KT-33592 Fixed
2019-12-03 18:19:32 +03:00
Nicolay Mitropolsky
c06f737519
Uast: SimpleKotlinRenderLogTest.testBitwise UMethod testdata fix
2019-11-28 11:41:00 +03:00
Kevin Bierhoff
e8252ea874
handle kotlin shifts like bitwise binary ops
2019-11-27 12:42:31 +03:00
Nicolay Mitropolsky
e4d0d450ab
Uast: keeping annotations from sources in non-light-methods backed UMethods (KT-27806)
2019-11-26 15:13:40 +03:00
Nicolay Mitropolsky
833571d8b2
Uast: tests for suspend and DeprecationLevel.HIDDEN functions appears in Uast tree (KT-27806, KT-32031)
2019-11-26 15:13:40 +03:00
Nicolay Mitropolsky
2772659ed2
Uast: Uast produces reified methods on his own because light-classes doesn't (KT-34316)
2019-11-26 15:13:40 +03:00
Nicolay Mitropolsky
9c18df61ca
Uast: KotlinUMethod and KotlinUAnnotationMethod are separated (KT-30489)
2019-11-26 15:13:40 +03:00
Nicolay Mitropolsky
5d081efe60
Uast: tests for no implicit returns in lambdas (KT-32370)
2019-07-04 10:53:48 +03:00
Nicolay Mitropolsky
a180d78eaf
Uast: implicit returns for local function bodies (KT-32370)
2019-07-04 10:53:48 +03:00
Nicolay Mitropolsky
f85ebe7f43
Uast: implicit returns for lambda expressions (KT-32370)
2019-07-04 10:53:48 +03:00
Mikhail Zarechenskiy
42b7552d17
Fix exception on attempt to map inner non-fixed type variable
...
#KT-31842 Fixed
2019-06-07 01:18:47 +03:00
Mikhail Zarechenskiy
e15cb67e29
Fix exception from UAST on attempt to map non-fixed type variable
...
#KT-31723 Fixed
#EA-126269 Fixed
#EA-143705 Fixed
#EA-143703 Fixed
#EA-143694 Fixed
2019-06-03 02:04:56 +03:00