Dmitriy Novozhilov
514cbc77fc
[FIR] Add owners to FirStatusTransformerExtension.transformStatus
2020-06-05 10:34:00 +03:00
Dmitriy Novozhilov
b79d6aced4
[FIR] Add resolve phase for resolving arguments of plugin's annotations
2020-06-05 10:34:00 +03:00
Dmitriy Novozhilov
73b738b7ff
[FIR] Replace resolved flag with resolve status enum for annotation calls
2020-06-05 10:33:59 +03:00
Vladimir Ilmov
4f1b7b38b2
(Resolve) lightweight resolve annotations
...
relates to #KT-38653
2020-06-05 00:19:16 +02:00
Toshiaki Kameyama
46ab338ea6
"Convert anonymous function to lambda expression" intention: add necessary lambda type parameter
...
#KT-37748 Fixed
2020-06-04 23:38:29 +03:00
Dmitry Petrov
d27c7ce86f
Bootstrap: 1.4.20-dev-65
2020-06-04 22:28:36 +03:00
Ilmir Usmanov
8cc5f2abfb
Forbid val field initialization inside EXACLTY_ONCE lambda
...
unless the lambda is inline. This way, final field will remain final.
2020-06-04 21:26:48 +02:00
Vyacheslav Karpukhin
6d6a228057
Android import: binary-compatible setting of the BuildType attribute
2020-06-04 20:57:54 +02:00
Vyacheslav Karpukhin
39a3f5e7d9
Android import: better value source for BuildTypeAttr
2020-06-04 20:57:54 +02:00
Vyacheslav Karpukhin
1f638f52d5
Android import: setting BuildType attribute for kotlin android compilations
2020-06-04 20:57:54 +02:00
Sergey Igushkin
e4e70f1b5b
VariantAwareDependenciesIT.kt: remove compile/runtime/... configurations
2020-06-04 20:42:12 +03:00
Steven Schäfer
3291cf7a6e
JVM IR: Mark lateinit fields as NotNull
...
This is needed for compatibility with the JVM backend.
2020-06-04 17:52:56 +02:00
Sergey Igushkin
52b29b53bc
Fixup BuildCacheRelocationIT: Gradle 5.6.1 -> 5.6.4 (AGP requirement)
2020-06-04 17:53:15 +03:00
Mikhail Glukhikh
6ad37eb7a8
Unmute two more FIR BB tests
2020-06-04 17:26:27 +03:00
Mark Punzalan
802beb49a6
Use TypeSubstitutor to get the substituted underlying type for inline
...
classes, instead of MemberScope.
The primary motivation was to fix issues around type-mapping for inline
classes in FIR, which uses wrapped descriptors that have empty
MemberScopes.
2020-06-04 17:03:55 +03:00
Mikhail Glukhikh
88b130308d
Revert accidental test data change introduced in 0d6e3093
2020-06-04 16:34:40 +03:00
Mikhail Glukhikh
0ce47f2f12
[FIR TEST] Mute 2 BB tests broken by 0d6e3093
2020-06-04 16:34:39 +03:00
Alexander Udalov
5647a935a2
JVM IR: do not generate DefaultImpls delegate for collection fake overrides
...
In the newly added test, prior to this change, JVM IR was generating
DefaultImpls classes with calls to things like
`kotlin/collections/MutableList$DefaultImpls.spliterator` and other
default methods present in JDK 8+. This obviously didn't make much
sense. Although these weren't explicitly mentioned anywhere in the
bytecode, they caused some validation tools to report errors (e.g.
animalsniffer used in arrow).
2020-06-04 14:27:46 +02:00
Vladimir Ilmov
47c25982b6
(ResolveElementCache) KtAnnotationEntry resolveToDescriptor added
2020-06-04 14:23:45 +02:00
Ilya Goncharov
c5aa35e016
[Gradle, JS] All regular text printed to DEBUG
2020-06-04 15:02:56 +03:00
Ilya Goncharov
97e4d23d75
[Gradle, JS] Filter warning with source maps
...
#KT-39377 fixed
2020-06-04 15:02:54 +03:00
Ilya Goncharov
69b9a2e98a
[Gradle, JS] Remove trailing commas from webpack config
...
#KT-39377 fixed
2020-06-04 15:02:39 +03:00
Ilya Goncharov
4bbead6200
[Gradle, JS] Remove custom source-map-loader
...
#KT-39377 fixed
2020-06-04 15:02:12 +03:00
Nikita Bobko
a94d2211e4
Cleanup getLineCount
2020-06-04 14:56:23 +03:00
Sergey Igushkin
603bae398f
Fix BuildCacheIT and BuildCacheRelocationIT
...
* Adjust the log checks for newer Gradle versions
* Use AGP 3.6.0 and Gradle 5.6.1 as the older version
2020-06-04 10:41:25 +00:00
Florian Kistner
71a45e56d7
Don't apply copyright notice to Kotlin Ultimate
2020-06-04 12:22:51 +02:00
Dmitry Petrov
de25359a90
Fix stdlib compilation after updated @JvmName check
...
Previously, extension receiver type was not taken into account when
checking for @JvmName annotation applicability to possibly mangled
functions (such functions, however, were mangled).
This bug was fixed, but, unfortunately, not before such functions were
added to stdlib ('sumOf' family).
2020-06-04 12:16:28 +03:00
Dmitry Petrov
202bbdf8dd
Forward compatibility hacks for Result.{success, failure}
...
Don't mangled functions annotated with @JvmName.
Annotate 'Result.success' and 'Result.failure' with @JvmName and
@Suppress("INAPPLICABLE_JVM_NAME").
NB this would require bootstrap.
2020-06-04 12:16:27 +03:00
Ilya Kirillov
8a4521864e
Wizard: use cache redirector on project importing tests
2020-06-04 12:00:42 +03:00
Ilya Kirillov
cce5a9a1ca
Wizard: download latest dev version for tests from bintray
2020-06-04 12:00:42 +03:00
Mikhail Glukhikh
1ea72ec378
Fix test data in FIR diagnostic test (merge with local eff. visibility)
2020-06-04 10:35:01 +03:00
Ilya Goncharov
74e4a817cb
[Gradle, JS] Fix test after changing type of IR link task on mode
2020-06-04 10:24:06 +03:00
Jinseong Jeon
0d6e309372
FIR: construct type with actual type arguments during GetClassCall transformation
2020-06-04 10:13:37 +03:00
Mikhail Bogdanov
4f8ad6bdcb
Remove compatibility hack
2020-06-04 08:01:30 +02:00
Valeriy.Vyrva
c023a02884
Create SortedMap with Comparator and items
...
KT-34142
2020-06-04 02:04:22 +03:00
Abduqodiri Qurbonzoda
e3fb74b656
Promote KClass.cast/safeCast, KAnnotatedElement.hasAnnotation() to stable
2020-06-03 23:50:48 +03:00
Dmitry Petrov
a4b9e8fdc6
Minor: mute test in JS_IR
2020-06-03 23:24:16 +03:00
Georgy Bronnikov
0db02926f5
JVM_IR: remove descriptors from MethodSignatureMapper
2020-06-03 22:42:02 +03:00
Georgy Bronnikov
77c20066a8
JVM_IR: implement getJvmModuleNameForDeserialized in MethodSignatureMapper
2020-06-03 22:42:02 +03:00
Georgy Bronnikov
80afe42d17
JVM_IR: implement getJvmNameIfSpecial in MethodSignatureMapper
2020-06-03 22:42:02 +03:00
Pavel Kirpichenkov
986b13c3a1
Optimize synchronization for resolution anchors
...
Use volatile state instead of synchronized access to it.
This should be enough as the component's state is only read
by the component users and never changed.
2020-06-03 20:58:07 +03:00
Pavel Kirpichenkov
175fe163af
Add cancelation check when building anchor mappings
2020-06-03 20:58:07 +03:00
Pavel Kirpichenkov
7fff8f82e2
Changes after review
...
- Replace leaking ModuleResolverTracker with use of ModuleDescriptor.Capabilies
- Provide API for retrieving ResolverForProject from ResolutionFacade
- Update names
2020-06-03 20:58:07 +03:00
Pavel Kirpichenkov
db1210fc67
Introduce components for library-to-source resolution in IDE
...
#KT-24309 In progress
2020-06-03 20:58:07 +03:00
Yan Zhulanow
0b2c9ff77a
IDE plugin dependencies: publish kotlin-main-kts artifact
2020-06-04 02:49:42 +09:00
Ilmir Usmanov
822c14814b
Revert "Completely rewrite reifiedIntTypeAnalysis, making it more streamline"
...
This reverts commit 1ed4324613 .
Otherwise, bootstrap is broken.
2020-06-03 19:43:59 +02:00
Toshiaki Kameyama
148f49d54a
UselessCallOnCollectionInspection: fix false positive when lambda last statement is function call that returns generic type
...
#KT-38267 Fixed
2020-06-03 20:42:42 +03:00
Vyacheslav Gerasimov
3c8ef5749f
Build: Remove identifying info from build scans
2020-06-03 19:04:07 +03:00
Sergey Igushkin
35b1bb05c8
Merge KT-MR-1260 from rr/gradle/igushkin/fix-kt-39304-unused-source-sets-failure
2020-06-03 14:32:53 +00:00
Anton Bannykh
a18bfad53a
Add stdlib API test + remove some extra IR stdlib API's
2020-06-03 17:14:29 +03:00