Mikhael Bogdanov
373d0ac660
Fix ultra light class generation for private suspend methods
2021-03-01 16:20:20 +01:00
Alexander Udalov
adfa8c788c
Light classes: use JVM target from the module
...
Using "JVM_1_8" always resulted in incorrect mapping of Kotlin
annotation targets to Java element types.
The change in AbstractKotlinRenderLogTest is needed because while
CliTraceHolder.module is technically a descriptor leak, it was never
detected by this test accidentally, because of the depth cutoff equal to
10, which started to not be enough after the minor refactoring of
replacing `Delegates.notNull` with `lateinit`.
2021-02-01 11:54:05 +01:00
Kevin Bierhoff
c1360c5a7a
Uast: resolve reified callees from classpath ( #4013 , KT-41279)
2021-01-14 20:29:03 +03:00
Dmitriy Novozhilov
d50d56f68c
Build: fix API differences between 201 and 202 in NewKotlinFileAction
2020-11-28 14:25:49 +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
Ilmir Usmanov
2cd9016016
IC mangling: Replace compiler hack with configuration flag
2020-11-19 17:39:30 +01:00
Vyacheslav Gerasimov
3feff16a77
Cleanup 193 compatibility fixes
2020-11-11 14:28:54 +03:00
Vyacheslav Gerasimov
8620d26a8a
Delete 193 bunch files
2020-11-11 14:28:53 +03:00
Nikolay Krasko
99b9bc83a1
as42: Fix assertEqualsToFile usage
2020-09-29 15:32:34 +03:00
Yan Zhulanow
0ce9003ef7
Parcelize: Add missing dependencies to Parcelize components in tests
2020-09-24 15:50:58 +09:00
Igor Yakovlev
309bf49a83
Update lightclass tests renderer
...
+mute invalid old light classes tests
2020-09-11 12:49:04 +03:00
Nicolay Mitropolsky
e53db4c771
Uast: fixing WrappedUAnnotation identifiers
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
Nikolay Krasko
cb513b9a70
202: Fix KotlinUastReferencesTest
2020-07-10 19:09:27 +03:00
Nikolay Krasko
21fa2bf98c
Switch to 201 platform
2020-06-30 19:53:18 +03:00
Nicolay Mitropolsky
1b1e579cbf
201: Uast: fixing KotlinUastGenerationTest by using system-independent inline unaware asRecursiveLogString
2020-06-11 19:34:55 +03:00
Alexander Udalov
6e67e1e78d
Replace appendln with appendLine in project
2020-06-11 13:01:30 +02:00
Yunir Salimzyanov
3b9000cc0c
Cleanup 191 extension files (KTI-240)
2020-06-01 18:43:10 +03:00
Nicolay Mitropolsky
6ed453dfbc
Uast: removing deprecated JvmDeclarationUElement (KT-23887)
2020-05-31 06:54:12 +03:00
Yunir Salimzyanov
8d51b027ed
Add annotation to prevent test invocation twice
...
Cause: it helps to fix double inversion of muted non-flaky tests result
(KTI-216).
2020-05-30 22:50:34 +03:00
Nicolay Mitropolsky
86e434195e
Uast: UastKotlinPsiVariable made isEquivalentTo it's physical PSI (KT-39174)
2020-05-29 11:00:47 +03:00
Nicolay Mitropolsky
e60a32e8d3
Uast: UastFakeLightMethod dependent generic type SOE fix KT-39155
2020-05-28 17:53:30 +03:00
Yan Zhulanow
fc433dece8
Fix EA-221456, check for error types before method signature calculation
2020-05-27 02:38:41 +09:00
Nicolay Mitropolsky
0bb3a4ccb7
201: Uast: KotlinUastCodeGenerationPlugin on the level needed for ReactorSupport (KT-38062)
2020-05-26 17:39:43 +03:00
Nicolay Mitropolsky
70237ecf31
Uast: explicitly expose implicit Lambda parameters
2020-05-26 17:39:43 +03:00
Nicolay Mitropolsky
5f64c6b9f1
Uast: a proper sourcePsi for 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
Mikhail Zarechenskiy
b2ca61e8a5
Fix compilation, remove import
2020-05-04 15:43:46 +03:00
Nicolay Mitropolsky
d3f357ee47
Uast: KotlinUastReferencesTest falling in 193 fix
2020-04-16 14:14:29 +03:00
Mikhail Zarechenskiy
cf90fe81ac
Move Sam(TypeAlias)ConstructorDescriptor to core
2020-04-15 02:06:32 +03:00
Nicolay Mitropolsky
738e2f813c
Uast: expression type for assigning arrays (KT-34187)
2020-04-14 18:27:34 +03:00
Nicolay Mitropolsky
9674643254
Uast: support for UYieldExpression (KT-35574)
2020-04-14 18:27:34 +03:00
Nicolay Mitropolsky
e815227196
Uast: resolve compiled annotation parameters (KT-34564)
2020-04-09 16:38:12 +03:00
Nicolay Mitropolsky
b1bd962464
Uast: kotlinInternalUastUtils.kt reordering to move internal functions to the top
2020-04-09 16:38:12 +03:00
Nicolay Mitropolsky
f5df64674f
Uast: making local lambda resolve and methods multiresolve work via resolveToDeclaration and resolveToPsiMethod
...
also fixes KT-36275
2020-04-09 16:38:12 +03:00
Nicolay Mitropolsky
89863bd2a3
Uast: unifying resolve to two methods resolveToDeclaration and resolveToPsiMethod
2020-04-09 16:38:12 +03:00
Nicolay Mitropolsky
c3977d7336
Uast: replacing most usages of resolveCallToDeclaration with resolveToPsiMethod
2020-04-09 16:38:11 +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
Dmitriy Dolovov
e69b2ed47d
Drop redundant dependencies on :native:kotlin-native-utils
2020-04-01 11:47:01 +07: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