Igor Chevdar
12ddd137bc
[IR] Moved isLambda to common IR utils
2020-08-31 12:01:29 +05:00
vldf
b050ef9970
[FIR] Remove print in UnusedChecker
2020-08-30 14:18:01 +03:00
Ilya Gorbunov
9c3ff6828a
Export kotlin.test packages with annotations and underlying frameworks
...
- Add exports for jvm package names used in kotlin.test annotations;
- Export transitively underlying test framework modules
Otherwise "This class does not have a constructor" happens when using
an aliased annotation, e.g. kotlin.test.Test aliased to org.junit.test
KT-41320
2020-08-29 03:33:38 +03:00
Andrey.Lozhkin
ef57c62576
[Gradle, Cocoapods] refactor I/O, improve Up-To-Date
...
all synthetic tasks are per pod
tasks receive parts of extension as inputs
2020-08-29 01:51:20 +03:00
Andrey.Lozhkin
1888462dc0
[Gradle, Cocoapods] move tasks from per target
...
podGen now per Family
podSetupBuild and podBuild now per sdk
2020-08-29 01:51:20 +03:00
Andrey Lozhkin
fcf5060907
[Gradle, Cocoapods] implement DSL to support Cocoapods Dependencies from Git or Web
...
Issue #KT-41367 Fixed
2020-08-29 01:51:20 +03:00
Steven Schäfer
b02f0f0a25
JVM IR: Fix compilation of nested inner classes
2020-08-28 20:03:19 +02:00
Steven Schäfer
02e78bcd76
JVM IR: Use package visibility for fields of captured variables
2020-08-28 20:03:19 +02:00
Roman Artemev
443269af0a
[IR] Drop irProviders from stub generator
2020-08-28 18:14:05 +03:00
Roman Artemev
39808789c3
[KLIB] Fix SOE in K/N
...
- fixes KT-41324
2020-08-28 18:14:04 +03:00
Mikhail Zarechenskiy
23f87d413a
Use initial system for completion if common one is effectively empty
...
Otherwise we can get unsubstituted type variables as expected types and
then write wrong information for assertions
#KT-41470 Fixed
2020-08-28 17:47:08 +03:00
Nick
bb18203ae6
[FIR] Various checkers performance fixes
2020-08-28 17:07:35 +03:00
Sergey Igushkin
5c88eb722d
Fix transitive deps on MPP with host-specific source sets (KT-41083)
...
A consumer could not resolve the host-specific metadata artifact
of the transitive dependency because the transitive dependency's parent
in the platform dependencies graph did not include the dependency on it
in the variant that is chosen for host-specific source sets metadata:
the dependencies of that variant were empty.
Export the dependencies of the Kotlin/Native target in the host-specific
metadata variant as well.
Issue #KT-41083 Fixed
2020-08-28 11:09:56 +00:00
Zalim Bashorov
9097d0918c
[JS BE] Support passing an array as argument of vararg in named form
...
#KT-38059 fixed
2020-08-28 13:14:23 +03:00
Zalim Bashorov
606232a584
[JS IR] Don't generate "import" statements for external interfaces
...
#KT-40964 fixed
2020-08-28 13:14:22 +03:00
Zalim Bashorov
ba846830c9
[JS IR] Support nativeGetter, nativeSetter and nativeInvoke
...
#KT-41081 fixed
2020-08-28 13:04:18 +03:00
Ilya Kirillov
c804319e65
FIR IDE: fix compilation on AS
2020-08-28 12:51:55 +03:00
Ilya Kirillov
36cc73602e
FIR IDE: fix testdata of AbstractFirLazyResolveTest
2020-08-28 12:51:55 +03:00
Ilya Kirillov
3cd445563e
FIR IDE: implement KotlinExpressionTypeProvider for FIR
2020-08-28 12:51:55 +03:00
Ilya Kirillov
fcc7db5224
FIR IDE: introduce analyseInModalWindow function
2020-08-28 12:51:23 +03:00
Ilya Kirillov
81be230541
FIR IDE: add validity assertion on analysis session access
2020-08-28 12:15:19 +03:00
Ilya Kirillov
db48884a4e
FIR IDE: add check canceled check between diagnostics
2020-08-28 12:15:18 +03:00
Ilya Kirillov
95a96f32bf
FIR IDE: log errors on diagnostics, not throw them
2020-08-28 12:15:17 +03:00
Ilya Kirillov
ebafd0fb51
FIR IDE: resolve ambiguity & inapplicable references
2020-08-28 12:15:16 +03:00
Ilya Kirillov
4fa2dd85b4
FIR IDE: move lazy resolve to FirLazyDeclarationResolver
2020-08-28 12:15:15 +03:00
Ilya Kirillov
8faaff00fa
FIR IDE: run lazy resolve on declaration when getting phased fir
2020-08-28 12:15:14 +03:00
Ilya Kirillov
78bb1f1076
FIR IDE: fix testdata in idea-frontend-fir
2020-08-28 12:15:13 +03:00
Ilya Kirillov
30ac80a506
FIR IDE: introduce property accessor symbols
2020-08-28 12:15:13 +03:00
Ilya Kirillov
aae56cadac
FIR IDE: add ModuleInfo for ide sessions as they are used for getting resolve components
2020-08-28 12:15:12 +03:00
Ilya Kirillov
bc3e98b116
FIR IDE: allow PCE between resolve phases, forbid in other cases
2020-08-28 12:15:11 +03:00
Ilya Kirillov
8363c711e6
FIR IDE: fix lazy resolve for local declarations
2020-08-28 12:15:10 +03:00
Ilya Kirillov
9d237033ad
FIR IDE: minor, rename FirIdeModuleLibraryDependenciesSession to FirIdeLibrariesSession
2020-08-28 12:15:09 +03:00
Ilya Kirillov
8b782d5954
FIR IDE: fix session provider implementation as it only provides only 2 sessions
2020-08-28 12:15:07 +03:00
Ilya Kirillov
a07d3f2425
FIR IDE: minor: rename FirIdeJavaModuleBasedSession to FirIdeSourcesSession
2020-08-28 12:15:07 +03:00
Ilya Kirillov
f76b5bbf1b
FIR IDE: allow KtFirPackageScope to work without providers
2020-08-28 12:15:06 +03:00
Ilya Kirillov
f4c17dadb3
FIR IDE: remove unused FirIdeModuleLibraryDependenciesSymbolProvider
2020-08-28 12:15:05 +03:00
Ilya Kirillov
a156cca02a
FIR: make class FirObjectImportedCallableScope to be name aware
2020-08-28 12:15:04 +03:00
Ilya Kirillov
333213bbb9
Wizard: add descriptions for some settings
2020-08-28 11:46:55 +03:00
Ilya Kirillov
37b869ebc5
Wizard: add descriptions for settings
2020-08-28 11:46:55 +03:00
Dmitriy Novozhilov
09ed0c3e82
[FIR-TEST] Update testdata
2020-08-28 10:59:54 +03:00
Dmitriy Novozhilov
e7b5a88cbd
[FIR] Remove dependency on :compiler:frontend from :compiler:fir:resolve
2020-08-28 10:59:54 +03:00
Dmitriy Novozhilov
abeb42ca20
[FIR] Don't use ProjectExtensionDescriptor in FirExtensionRegistrar
2020-08-28 10:59:53 +03:00
Dmitriy Novozhilov
f09e17a5ae
[FIR] Remove unused import
2020-08-28 10:59:53 +03:00
Dmitriy Novozhilov
e405a02e8e
[FIR] Fix contract serialization
2020-08-28 10:59:53 +03:00
Dmitriy Novozhilov
eaf8af919d
[FIR] Use PersistentList instead of guava's ImmutableList in SupertypeResolution
2020-08-28 10:59:53 +03:00
Dmitriy Novozhilov
148e8fe76e
Move FlatSignature to :compiler:resolution.common
2020-08-28 10:59:53 +03:00
Dmitriy Novozhilov
64766e125c
Move common inference classes to :compiler:resolution.common
2020-08-28 10:59:53 +03:00
Dmitriy Novozhilov
068d21635e
[NI] Get rid of KotlinType usages in MutableConstraintStorage.kt
2020-08-28 10:59:52 +03:00
Dmitriy Novozhilov
af0df35623
[NI] Get rid of FE 1.0 types in ConstraintInjector
2020-08-28 10:59:52 +03:00
Dmitriy Novozhilov
ad039a28bd
[NI] Get rid of left FE 1.0 types in NewConstraintSystemImpl
2020-08-28 10:59:52 +03:00