vladislavf7@gmail.com
63f7e95c89
[FIR] Add RedundantExplicitTypeChecker
2020-07-16 12:39:13 +03:00
Yunir Salimzyanov
3c798502c8
Synchronize muted TeamCity tests with database for .bunch configurations
2020-07-16 11:04:59 +03:00
Jinseong Jeon
c7a37eb6b2
FIR deserializer: load annotations on extension receiver parameters
2020-07-16 10:42:51 +03:00
Dmitriy Dolovov
02f08b16d6
[Commonizer] Ignore CallableDescriptor.hasSynthesizedParameterNames attribute
2020-07-16 14:26:37 +07:00
Mikhail Zarechenskiy
100a6f70ca
Relax rules about inferring to Nothing for special calls
...
#KT-37388 Fixed
#KT-38427 Fixed
#KT-39953 Fixed
#KT-38899 Fixed
2020-07-16 09:56:46 +03:00
Anton Bannykh
e45cd02b01
KLIB: add EmptyPackageFragment's to fix ModuleDescritor.getSubPackagesOf
2020-07-15 20:42:23 +03:00
Abduqodiri Qurbonzoda
d2c9fc41f1
Replace @LowPriorityInOverloadResolution with @DeprecatedSinceKotlin #KT-37101
2020-07-15 20:36:57 +03:00
Abduqodiri Qurbonzoda
4ac1b7748a
Advance bootstrap to 1.4.20-dev-2133
2020-07-15 20:36:56 +03:00
Roman Artemev
cd9f59325e
[KLIB] Fix deserialization of anonymous classes
...
In case of initializing property or function with anonymous object the
object is being exposed outside its field/function's scope and
accessible on previous level. In this case in `declarations only` mode
we have unbound symbols. Fix is to force body/initializer loading in
such cases.
Make sure it is deserialized in `declarations'only` mode too.
- Fix KT-40216
- Add test
2020-07-15 18:23:29 +03:00
Roman Artemev
d31de6c8de
[Psi2IR] Improve assertion message
2020-07-15 18:23:28 +03:00
Alexander Dudinsky
d89083cd8c
Fixup the tests vs master-gradle-plugin
...
Defined 4.0 and 1.3.0 as default versions of Gradle and plugin for PluginTargetVersions
Use `{{kotlin_plugin_repositories}}` template in testData of ImportTests
Update "mute" databases for new tests
Add `kotlin.stdlib.default.dependency=false` to some testData
2020-07-15 17:10:36 +03:00
Andrey Uskov
005314ce06
Support running import tests on bootstrap version of gradle plugin
2020-07-15 17:09:36 +03:00
Victor Petukhov
b0c96a61ec
Don't try to infer postponed variables on lambdas without BuilderInference annotation
...
^KT-39618 Fixed
2020-07-15 16:19:43 +03:00
nataliya.valtman
9e737156dd
KT-37720 Replace ArtifactTransform with TransformAction
2020-07-15 15:57:54 +03:00
Andrei Klunnyi
b9585dabd4
KT-32368 Rework Inline hints settings // fix QuickFixTestGenerated$AutoImports.testKt17525
2020-07-15 13:25:00 +02:00
Andrei Klunnyi
1639cadbb7
KT-32368 Rework Inline hints settings // remove non-existent ReturnHintLinePainter
2020-07-15 13:00:16 +02:00
Jinseong Jeon
30b91b128a
FIR: adjust type of integer operator call as property initializer
2020-07-15 13:56:40 +03:00
Mikhail Glukhikh
ddd26de139
FirTypeIntersectionScope: extract 'createIntersectionOverride'
2020-07-15 13:36:31 +03:00
Mikhail Glukhikh
9934f7d56e
[FIR TEST] Add test for KT-40327
2020-07-15 13:36:31 +03:00
Mikhail Glukhikh
92d40c27e2
FirBasedSignatureComposer: build signature even for private classes
...
FIR2IR assumes that we can build signature for any non-local class.
Later we can drop this assumption.
2020-07-15 13:36:31 +03:00
Mikhail Glukhikh
07b0ffef84
[FIR] Introduce & use remapArgumentsWithVararg
2020-07-15 13:36:30 +03:00
Jinseong Jeon
5c4f978073
FIR: transform arrayOf call with empty arguments
2020-07-15 13:36:30 +03:00
Jinseong Jeon
db9d42c153
IrConstTransformer: handle vararg with spread elements properly
2020-07-15 13:36:30 +03:00
Jinseong Jeon
5600eefea5
FIR: add support for varargs in annotation calls
2020-07-15 13:36:30 +03:00
Jinseong Jeon
4e6bd33eca
FIR: create argument mapping for annotation call in general
2020-07-15 13:36:30 +03:00
Jinseong Jeon
1a861b2df9
FIR2IR: don't create synthetic class for enum entry w/o members
2020-07-15 13:36:30 +03:00
Juan Chen
2ea3579281
[FIR] add support for generic cases of delegation by implementation
...
Add type parameters for generic delegated members and type
substitution when implementing instantiated super interfaces.
2020-07-15 13:36:29 +03:00
Mikhail Glukhikh
93632d2a18
FIR declaration transformer: unwrap synthetic property accessor properly
2020-07-15 13:36:29 +03:00
Mikhail Glukhikh
031f03a903
Introduce FirDeclarationOrigin.INTERSECTION_OVERRIDE
2020-07-15 13:36:29 +03:00
Mikhail Glukhikh
9107944b05
FirSyntheticProperty: take returnTypeRef directly from delegate
2020-07-15 13:36:29 +03:00
Mikhail Glukhikh
e2678149cb
FirClassSubstitutionScope: fix overridden symbols traversing
2020-07-15 13:36:29 +03:00
Mikhail Glukhikh
10a1d5c03b
FirTypeIntersectionScope: add intersection overrides caching
2020-07-15 13:36:28 +03:00
Mikhail Glukhikh
c1d223dbde
FirTypeIntersectionScope: enhance support of inherited default parameters
2020-07-15 13:36:28 +03:00
Mikhail Glukhikh
c46fac3464
FirTypeIntersectionScope: support inherited default parameters
2020-07-15 13:36:28 +03:00
Mikhail Glukhikh
7a2ea49399
FirTypeIntersectionScope: introduce "intersection" fake overrides
2020-07-15 13:36:28 +03:00
Mikhail Glukhikh
5a422b5ef6
FirTypeIntersectionScope: optimize/cleanup processOverriddenFunctions
2020-07-15 13:36:28 +03:00
Mikhail Glukhikh
1bbed6c4ed
[FIR2IR] Use FIR-specific methods to search for overridden functions
2020-07-15 13:36:28 +03:00
Mikhail Glukhikh
59cc9d4bc6
[FIR] Introduce FirTypeScope.processOverriddenFunctionWithDepth
2020-07-15 13:36:28 +03:00
Mikhail Glukhikh
8a29021aad
[FIR2IR] Make data class synthetic members public API
2020-07-15 13:36:27 +03:00
Mikhail Glukhikh
521901f09a
[FIR2IR] Cache type parameters for existing IR classes properly
...
Before this commit, we just recreated class header
for external IR class found by signature. However, it's not required,
because super-types, type parameters, etc. are already initialized.
So now we just read type parameters and build cache for them.
2020-07-15 13:36:27 +03:00
Victor Petukhov
d2f5fbdd08
Fix failing on AS test with inserting -Xinline-classes to build script
2020-07-15 13:35:16 +03:00
Kirill Shmakov
c8b3e622f1
Fix typo in field name
2020-07-15 10:52:42 +03:00
vladislavf7@gmail.com
d96772444e
[FIR] Fix redundant visibility checker
2020-07-15 09:42:30 +03:00
Dmitry Savvinov
9b8128aaa8
Coerce commonTest to common in HMPP
...
Otherwise, Android import won't add dependency from androidTest to
commoonTest. See KT-38744 for details
^KT-38744 Fixed
2020-07-15 11:18:34 +07:00
Vyacheslav Gerasimov
742b98bed6
Build: Fix stdlib-js-ir commonMainSources task dependency on version
2020-07-14 20:29:11 +03:00
vladislavf7@gmail.com
fb5fb44993
[FIR] Add RedundantModalityModifierChecker
2020-07-14 19:56:41 +03:00
Vyacheslav Gerasimov
e7c88a4349
Build: Add KotlinVersionCurrentValue to runtime classpath normalization
...
To avoid cache misses between local and remote build
2020-07-14 17:51:45 +03:00
Vyacheslav Gerasimov
e215d94b7b
Build: Fix JavaExec task configuration
...
Setting some properties is not allowed in doFirst anymore in Gradle 6.5
2020-07-14 17:51:45 +03:00
Victor Petukhov
bf23b39d76
Add using -Xinline-classes by default in IDE intentions
...
^KT-34209 Fixed
2020-07-14 17:43:44 +03:00
Pavel Kirpichenkov
79d7babb57
Add test checking file annotations resolution
...
#KT-37219 Fixed
2020-07-14 17:07:42 +03:00