Sergey Shanshin
16dbafced1
Add .serializer() to enum companion and object with custom serializer
...
Fixes Kotlin/kotlinx.serialization#1386
2021-05-26 16:07:59 +03:00
Jinseong Jeon
5effbce363
UAST: cleanup plugin file to have only plugin definition
2021-05-25 13:09:57 +02:00
Jinseong Jeon
8b93727f64
UAST: split KotlinConverter into a separate file
2021-05-25 13:09:57 +02:00
Jinseong Jeon
0395294933
UAST: split KotlinUastResolveProviderService into a separate file
2021-05-25 13:09:57 +02:00
Jinseong Jeon
f16f9a13fd
FIR/UAST: enforce the existence of BaseKotlinUastResolveProviderService
2021-05-25 13:09:57 +02:00
Jinseong Jeon
240f86b109
FIR UAST: use analyseWithCustomToken in lieu of analyse
2021-05-25 13:09:57 +02:00
Jinseong Jeon
741fdee59e
FIR/UAST: commonize UnknownKotlinExpression
2021-05-25 13:09:57 +02:00
Jinseong Jeon
15a4649675
FIR/UAST: commonize UImportStatement
2021-05-25 13:09:57 +02:00
Jinseong Jeon
3c3b5aa4ac
FIR/UAST: commonize abstract UElement and UExpression
2021-05-25 13:09:57 +02:00
Jinseong Jeon
a54a807dc9
FIR/UAST base: clarify what module we should not depend on
...
This should be part of commit bbe5cf0a
2021-05-25 13:09:57 +02:00
Denis.Zharkov
ddbdfafa79
Remove OI/NI attributes from test data
2021-05-25 13:28:27 +03:00
Denis.Zharkov
2ecba6ac39
Remove WITH_NEW_INFERENCE directive from all tests
...
This directive anyway does not make test run twice with OI, and with NI
It only once run the test with specific settings (// LANGUAGE)
and ignores irrelevant (OI or NI tags)
2021-05-25 13:28:26 +03:00
Dmitriy Novozhilov
a1ae108ce5
[FIR] Properly generate IDE diagnostics from multiple diagnostics lists
2021-05-21 14:18:58 +03:00
Andrey Zinovyev
e82857996f
[lombok] Resolve to absolute path when import from maven
...
#KT-46723 Fixed
2021-05-20 11:57:07 +03:00
Ilya Muradyan
9412fe094b
[REPL] Copy findLabelAndCall to scripting-ide-services to fix problems with embeddable artifact
2021-05-19 18:32:50 +03:00
Steven Schäfer
bf7db84451
Parcelize: Handle class hierarchies of Parcelers (KT-46567)
2021-05-18 18:52:15 +02:00
Ilya Chernikov
d365d7c784
Fix IR compilation for empty script
...
#KT-46646 fixed
2021-05-17 20:15:14 +03:00
Ilya Kirillov
8b722cfc47
Separate uast-idea modules into fir and fe10 implementations
2021-05-14 20:57:20 +03:00
Dmitriy Novozhilov
5cfa8694d4
[FIR] Fix all usages of declarationSiteSession
2021-05-14 14:30:27 +03:00
Dmitriy Novozhilov
e5b7cf23d6
Drop min functions from addToStdlib.kt
2021-05-14 14:30:20 +03:00
Dmitriy Novozhilov
d114913cd2
Replace usages of addToStdlib.firstNotNullResult with firstNotNullOfOrNull
2021-05-14 14:30:19 +03:00
Yan Zhulanow
cc4c61d2b3
Remove dependency on parcelize-runtime in the Parcelize compiler plugin
2021-05-14 01:06:39 +09:00
Steven Schäfer
1198b40c11
Parcelize: Port the fix for KT-41553 to android-extensions
...
Fixes KT-46590.
2021-05-12 21:18:15 +02:00
Ilya Kirillov
ca320f2f8d
FIR IDE: add this labels to keyword completion
2021-05-12 21:40:20 +03:00
Jinseong Jeon
cb0b80253c
FIR/UAST: make a fat jar with the base module
2021-05-12 17:36:35 +02:00
Nikolay Krasko
f30980806f
Read process streams to avoid hanging on Windows in parcelize tests
...
Could be reproduced with ParcelizeBoxTestGenerated.testKt36658 test.
2021-05-12 12:58:02 +03:00
Nikolay Krasko
818bbbbb83
Don't print to log in successful parcelize tests
2021-05-12 12:58:01 +03:00
Jinseong Jeon
e5f3091f2c
FIR/UAST: commonize KotlinUFile
...
We can avoid explicit creation of UAnnotation and UImportStatement if we
use languagePlugin as a UAST element factory.
2021-05-11 21:43:02 +02:00
Jinseong Jeon
5dc0b52e38
FIR UAST: fix/test allCommentsInFile in UFile
2021-05-11 21:43:02 +02:00
Jinseong Jeon
03b5c14944
FIR UAST: enable remaining legacy test data
...
This should have been part of commit 7f627ab4
2021-05-11 21:43:02 +02:00
Andrey Zinovyev
89f0a790c9
[lombok] Map lombok MODULE to java PackageVisibility
...
Because that's what lombok does
#KT-46469 Fixed
2021-05-11 19:18:39 +03:00
Andrey Zinovyev
468fc86a3f
[lombok] Fix fallback to config for array annotation's parameter
...
If annotation's parameter is not explicitly defined, it should be
taken from config
#KT-46529 Fixed
2021-05-11 19:18:37 +03:00
Andrey Zinovyev
57d3f98ece
[lombok] Config keys are case-insensitive
...
#KT-46531 Fixed
2021-05-11 19:18:36 +03:00
Jinseong Jeon
bbe5cf0a70
FIR/UAST: clarify what module we should not depend on
2021-05-10 20:23:19 +02:00
Ilya Muradyan
e9af2849ef
Add Kotlin DeprecationLevel into the REPL completion
2021-05-07 19:56:21 +03:00
pyos
36a25353e9
JVM_IR: permit @NoArg if super constructor is already zero-argument
...
#KT-46537 Fixed
2021-05-07 16:22:30 +02:00
Ilya Muradyan
042ac5555c
Merge pull request #4342 from JetBrains/rr/ileasile/completion-for-function-params
...
[REPL] Add completion for the call named parameters
2021-05-07 15:11:12 +03:00
Leonid Startsev
d60a8f9baa
Use correct type in KClassReference
...
Make sure that writeSelf function remains static
2021-05-06 19:53:21 +00:00
Leonid Startsev
a58f29aa06
Remove unnecessary ignoreIndexTo outside writeSelf
...
It never worked: descriptor.declaresDefaultValue used by property.isOptional
works only for current module
(since it looks up psi), so we never access default value initializers
outside current module
2021-05-06 19:53:21 +00:00
Leonid Startsev
66f39ca185
Use SerializerFactory interface and generate function
...
for sealed and abstract serializable classes.
Fixes https://github.com/Kotlin/kotlinx.serialization/issues/1116
Fixes https://github.com/Kotlin/kotlinx.serialization/issues/1078
2021-05-06 19:53:20 +00:00
Jinseong Jeon
ebbef484ad
FIR UAST: add utils to clean up identical render/log files
2021-05-06 20:19:29 +02:00
Jinseong Jeon
1385a4690e
Revert "UAST Kotlin: update test data"
...
This reverts commit 291cd842
A directive to ignore FIR UAST is removed after facade support.
2021-05-06 20:19:29 +02:00
Jinseong Jeon
7f627ab480
FIR UAST: track all legacy test data since facade class is converted
...
These are mostly mechanical changes.
2021-05-06 20:19:29 +02:00
Jinseong Jeon
939740d26e
FIR UAST: convert (light) class for facade
2021-05-06 20:19:29 +02:00
Andrey Zinovyev
cba21c68a3
[lombok] Actualize README
2021-05-06 11:27:51 +03:00
Jinseong Jeon
291cd842b9
UAST Kotlin: update test data
...
Addition of directive IGNORE_FIR alters synthetic local variable names.
2021-05-05 14:22:40 +02:00
Jinseong Jeon
dad198cb67
UAST Kotlin: make super type lookup test robust
...
Newly added directive IGNORE_FIR bothers lookup for object "O".
2021-05-05 14:22:40 +02:00
Jinseong Jeon
03d4cb0dfa
FIR UAST: use uast-kotlin/testData for legecy tests
2021-05-05 14:22:40 +02:00
Jinseong Jeon
eac875b5d6
FIR UAST: commonize utils from UAST Kotlin
2021-05-05 14:22:40 +02:00
Jinseong Jeon
f37c722c76
UAST Kotlin: fix typos
2021-05-05 14:22:40 +02:00