Commit Graph

508 Commits

Author SHA1 Message Date
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
Nicolay Mitropolsky f98a1de7c3 Uast: making convertDeclaration always convert the originalElement (KT-35848) 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
Nicolay Mitropolsky d1739289c6 Uast: UastFakeLightMethod hashcode fix (KT-37200) 2020-03-11 15:54:01 +03:00
Nicolay Mitropolsky 753d4b3cbd Uast: UastFakeLightMethod equality fix (KT-37200) 2020-03-10 11:33:56 +03:00
Vyacheslav Gerasimov 0db69cadb6 Build: Make all compile dependencies on toolsJar compileOnly
tools.jar differs between different versions of JDK reducing cache reuse
so better to not leak it to other modules
2020-02-29 16:35:54 +03:00
Nikolay Krasko 8501ea78c8 201: Mute a lot of tests with enums 2020-02-28 11:36:40 +03:00
Nikolay Krasko 272ccf64ae Refactoring: extract resetApplicationToNull to separate file 2020-02-18 14:13:54 +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 bf9d4f065b Uast: eliminating the kotlin.uast.multiresolve.enabled, it is always true for a long time 2020-02-13 15:54:48 +03: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
Nikolay Krasko 314474c33b 201: uast-tests.jar new dependency (depend on whole idea in tests) 2020-02-11 20:28:04 +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