pyos
fad35b95d4
FE: forbid extension calls on inline functional parameters
...
Extension receivers are currently implicitly noinline, and changing that
would require modifying the syntax to allow marking them noinline or
crossinline.
^KT-5837 Open
^KT-25787 Fixed
^KT-47965 Fixed
^KT-50107 Fixed
^KT-52403 Fixed
2022-05-27 14:55:07 +00:00
Victor Petukhov
efa267bf86
[FE] Fix tests after rebase
2022-05-27 13:56:34 +00:00
Victor Petukhov
0199c76c06
[FE 1.0] Check callable reference return type safety during resolution
...
^KT-51844
^KT-52503 Fixed
2022-05-27 13:56:34 +00:00
Victor Petukhov
51551998c7
Revert "[FE 1.0] Take care callable reference candidates with recursive candidate return type"
...
This reverts commit d04beaa8bb49c99ceb993f3f7b32169c393b39f4.
2022-05-27 13:56:33 +00:00
Victor Petukhov
06deaed3d5
Add test for KT-50498
2022-05-27 13:56:33 +00:00
Victor Petukhov
b411eb36e8
[FE 1.0] Take care standalone lambdas during updating types in the builder inference
...
^KT-50520 Fixed
2022-05-27 13:56:32 +00:00
Victor Petukhov
c25e07119c
[FE 1.0] Skip improper constraints while determining READY_FOR_FIXATION_DECLARED_UPPER_BOUND_WITH_SELF_TYPES type variable readiness
...
^KT-51148 Fixed
2022-05-27 13:56:32 +00:00
Ilya Kirillov
500295da68
[references] move fe10 references implementation to another package
2022-05-27 15:37:40 +02:00
Ilya Kirillov
b511e449d2
[analysis api] temporary mute Fe10IdeNormalAnalysisSourceModuleSymbolByReferenceTestGenerated
2022-05-27 15:37:39 +02:00
Tianyu Geng
010431e9e7
[Analysis API] Make a separate module for kt-reference-fe10
2022-05-27 15:37:37 +02:00
Tianyu Geng
19e9143bc1
[Analysis API] Move default annotation argument reference to kotlin repo
...
This reference is frontend-independent, so its implementation is placed
inside kt-references directly.
2022-05-27 15:37:36 +02:00
Tianyu Geng
a7c37286a3
[Analysis API] Move SyntheticPropertyAccessorReferenceDescriptorImpl
...
Also move some utilities from IDE to kotlin repo
2022-05-27 15:37:35 +02:00
Tianyu Geng
71a30b0c5e
[Analysis API] Move KDocReference to kotlin repo.
2022-05-27 15:37:34 +02:00
Tianyu Geng
0803ab0d0b
[Analysis API] Add KtFe10ReferenceResolutionHelper and ...
...
Make implementation of KtFe10XXXReference follow the old
descriptor-based implementation as closely as possible.
2022-05-27 15:37:33 +02:00
Tianyu Geng
b5139c958b
[Analysis API] Add KtReferenceMutateService...
...
and delegate renaming and rebinding to this new service for `KtReference`.
In addition, CliKtFe10XXXReference are all removed because it seems they are not necessary because the IDE flavor differs only by handling renaming, which is moved to a separate service.
2022-05-27 15:37:33 +02:00
Tianyu Geng
213e7154c2
Analysis API: remove unnecessary overwrite in KtFirSimpleNameReference
2022-05-27 15:37:32 +02:00
Alexander Udalov
70121f0c78
Report error on non-existent classpath in -Xplugin
...
#KT-52380 Fixed
2022-05-27 13:13:33 +02:00
Svyatoslav Scherbina
c45a3d39b1
[Gradle, Native, IT] Add test for exporting published lib
...
This test checks that `transitiveExport = true` is no longer required
for exporting a published multiplatform library in a native library.
2022-05-27 07:58:33 +00:00
Svyatoslav Scherbina
045528e643
[Gradle, Native, IT] Add missing assertion
2022-05-27 07:58:33 +00:00
Sergej Jaskiewicz
e9db050245
[JS] Optimize resolving paths when building source maps
...
`File.getCanonicalFile` follows symlinks, that is not necessary.
2022-05-26 16:32:07 +00:00
Sergej Jaskiewicz
375c13cd7e
[JS] Add a doc comment for SourceMapLocationRemapper
2022-05-26 16:32:06 +00:00
Sergej Jaskiewicz
0614c519af
[JS] Convert SourceFilePathResolver to Kotlin, fix usages
2022-05-26 16:32:05 +00:00
Sergej Jaskiewicz
4bf79cd23b
Rename SourceFilePathResolver.java -> SourceFilePathResolver.kt
2022-05-26 16:32:04 +00:00
Vyacheslav Gerasimov
6a0fbce76a
Build: Fix assemble task of :kotlin-native:runtime
2022-05-26 10:49:24 +00:00
Pavel Punegov
8afe203f39
[K/N] Remove obsolete generator project
2022-05-26 10:37:30 +00:00
Pavel Punegov
dbd383aa2a
[K/N] Fix kotlin gradle plugin usage in build-tools
2022-05-26 10:37:29 +00:00
Pavel Punegov
cda0308760
[K/N] Fix kotlin-native-shared usage in build-tools
2022-05-26 10:37:29 +00:00
Pavel Punegov
83c2b3657f
[K/N] Fix build-tools project compilation
...
Add necessary subprojects and dependencies
Add OptIn annotation for experimental stdlib methods in 1.5
Fix compilation errors and cleanup
2022-05-26 10:37:28 +00:00
Alexander Shabalin
00892c2903
[K/N] Add SAM with receiver plugin
...
(cherry picked from commit a58e2459c6 )
2022-05-26 10:37:27 +00:00
Pavel Punegov
987930a0e5
[K/N] Add build-tools as a module for IDEA
...
Adds a module to project making it able to use analysis
and syntax highlight
(cherry picked from commit c545fd5ef8 )
2022-05-26 10:37:26 +00:00
Pavel Kunyavskiy
be2c92a0bd
[K/N] Patch mimalloc to avoid using clock_gettime on apple targets
...
^KT-52430
2022-05-26 10:32:12 +00:00
Alexander Shabalin
20884d82eb
[K/N] Modernize CompilationDatabase tasks
...
Merge-request: KT-MR-6276
Merged-by: Alexander Shabalin <Alexander.Shabalin@jetbrains.com >
2022-05-25 21:49:35 +00:00
Jinseong Jeon
c230a488e2
FIR LC: use the same module name as U/LC tests in IJ
2022-05-25 17:05:15 +02:00
Jinseong Jeon
1fe574f406
FIR LC: mangle internal function names
2022-05-25 17:05:14 +02:00
Jinseong Jeon
c79601e616
FIR LC: utilize effective visibility retrieval for (overridden) members
2022-05-25 17:05:14 +02:00
Dmitriy Dolovov
992ef3db44
[Native][tests] Lower memory requirements for Gradle test tasks
2022-05-25 17:01:26 +03:00
sebastian.sellmair
ae493e04c0
[kpm] kotlin-gradle-plugin-idea: Update version for backwards compatibility tests
...
... to "1.7.20-dev-1435 to bootstrap incompatible naming changes
for IdeaKotlin* -> IdeaKpm*
2022-05-25 13:15:48 +00:00
sebastian.sellmair
efcdfab9a4
[kpm] Minor: GradleKpmFragmentInternal: Rename _directRefinesDependencies
...
... to _declaredRefinesDependencies to match the public counterpart
2022-05-25 13:15:47 +00:00
sebastian.sellmair
c9a079f908
[kpm] serializationUtil.kt: Implement custom ClassLoaderObjectInputStream
...
Previously used the Gradle implementation, which had an undesirable
fallback for the case of missing classes in the given class loader.
For our tests, we want to ensure that only the specified class loader
is used.
2022-05-25 13:15:46 +00:00
sebastian.sellmair
7eb6288262
[kpm] kotlin-gradle-plugin: Introduce IdeaKpm* naming convention (2/2)
2022-05-25 13:15:46 +00:00
sebastian.sellmair
904fc00dde
[kpm] kotlin-gradle-plugin: Introduce IdeaKpm* naming convention (1/2)
2022-05-25 13:15:45 +00:00
sebastian.sellmair
00edca4532
[kpm] kotlin-gradle-plugin-idea: Introduce IdeaKpm* naming convention (2/2)
...
Replace the pre-existing `IdeaKotlin` naming convention with `IdeaKpm`
2022-05-25 13:15:44 +00:00
sebastian.sellmair
e2755b92aa
[kpm] kotlin-gradle-plugin-idea: Introduce IdeaKpm* naming convention (1/2)
...
Replace the pre-existing `IdeaKotlin` naming convention with `IdeaKpm`
2022-05-25 13:15:43 +00:00
sebastian.sellmair
d4dc6a3d71
[kpm] Introduce GradleKpm* naming convention (2/2)
...
All Gradle specific kpm entities shall be disambiguated by using
the `GradleKpm` prefix. For example `MyEntity` shall now be called
`GradleKpmMyEntity` and a subclass would be called like
`GradleKpmSpecialMyEntity`
2022-05-25 13:15:43 +00:00
sebastian.sellmair
dcd47a89dd
[kpm] Introduce GradleKpm* naming convention (1/2)
...
All Gradle specific kpm entities shall be disambiguated by using
the `GradleKpm` prefix. For example `MyEntity` shall now be called
`GradleKpmMyEntity` and a subclass would be called like
`GradleKpmSpecialMyEntity`
2022-05-25 13:15:42 +00:00
sebastian.sellmair
e55f00c3d9
[kpm] Introduce Kpm* naming convention (2/2)
...
All Kpm owned entities shall be disambiguated by using the `Kpm` prefix
E.g. MyEntity has to be called KpmMyEntity and a subclass is called
KpmSpecialMyEntity
2022-05-25 13:15:41 +00:00
sebastian.sellmair
71677ad455
[kpm] Introduce Kpm* naming convention (1/2)
...
All Kpm owned entities shall be disambiguated by using the `Kpm` prefix
E.g. MyEntity has to be called KpmMyEntity and a subclass is called
KpmSpecialMyEntity
2022-05-25 13:15:40 +00:00
Mikhail Glukhikh
49175f83aa
Analysis API FE10: fix delegated member rendering
...
After this commit,
Fe10IdeNormalAnalysisSourceModuleDelegateMemberScopeTestGenerated
passes properly
2022-05-25 12:04:59 +00:00
Mikhail Glukhikh
71b6151d51
KtFe10ScopeProvider: implement declared/delegated member scope
2022-05-25 12:04:58 +00:00
Mikhail Glukhikh
133f874351
Fix origin calculation in CliFe10AnalysisFacade
...
After this commit, all tests in
Fe10IdeNormalAnalysisSourceModuleFileScopeTestGenerated pass
2022-05-25 12:04:57 +00:00