sebastian.sellmair
c03d995e07
[Commonizer] Implement basic tests for CirTree deserializers
2021-04-09 23:35:57 +02:00
sebastian.sellmair
8c941fc203
[Gradle] Implement support for hierarchical commonization
2021-04-09 23:35:57 +02:00
sebastian.sellmair
68c3e39058
[Commonizer] Implement support for hierarchical commonization
2021-04-09 23:35:57 +02:00
sebastian.sellmair
46a20c81cc
Implement CommonizerTarget.allLeaves
2021-04-09 23:35:56 +02:00
sebastian.sellmair
a78645e858
Implement CommonizerTarget.withAllAncestors
2021-04-09 23:35:56 +02:00
sebastian.sellmair
47f36c04fc
Move transitiveClosure into :commonizer-api
2021-04-09 23:35:56 +02:00
sebastian.sellmair
35e1f8a520
Implement CommonizerTarget isAncestorOf and isDescendentOf
2021-04-09 23:35:56 +02:00
sebastian.sellmair
108debdcc9
[Commonizer] Implement CirTree and CirTree deserializers and CirTree merging
2021-04-09 23:35:56 +02:00
sebastian.sellmair
cb1f3c3e32
[Commonizer] Make nodeBuilders contextless
2021-04-09 23:35:55 +02:00
sebastian.sellmair
66bc751407
[Commonizer] Inline 'hasAnythingToCommonize'
2021-04-09 23:35:55 +02:00
sebastian.sellmair
0a35d75039
[Commonizer] CommonizerParameters: Require TargetProviders as constructor argument
2021-04-09 23:35:55 +02:00
sebastian.sellmair
79c6b406ba
[Commonizer] Allow empty SharedCommonizerTarget
2021-04-09 23:35:55 +02:00
sebastian.sellmair
cdbede09df
Move 'TargetDependent' into commonizer module make it an interface
2021-04-09 23:35:55 +02:00
Ilmir Usmanov
bce92d824a
Minor. Add tests to check returning Result from functions
...
Mainly, that virtual functions, returning Result, are mangled.
#KT-45855
2021-04-09 22:09:03 +03:00
Vladimir Dolzhenko
613eda5016
Fix PackageFragmentProvider#isEmpty(FqName) for REPL
2021-04-09 21:06:32 +03:00
Anton Bannykh
bcaad7487f
JS PIR: regenerate .proto
2021-04-09 19:54:24 +03:00
Anton Bannykh
923303c2c1
JS PIR: move PIR proto messages to a separate file
2021-04-09 19:54:23 +03:00
Anton Bannykh
8fe8419ad4
JS IR: serialize declarations without mutable state
2021-04-09 19:54:21 +03:00
Anton Bannykh
1e822aa28a
JS PIR: carrier serializer implementation
2021-04-09 19:54:20 +03:00
Anton Bannykh
c97066527c
JS PIR: carrier serializer / deserializer
2021-04-09 19:54:19 +03:00
Anton Bannykh
030498c5e1
JS IR: updated .proto
2021-04-09 19:54:18 +03:00
Anton Bannykh
5de04f49ca
JS PIR: updated declarations
2021-04-09 19:54:17 +03:00
Anton Bannykh
1f0d83b420
JS PIR: update the generator
...
- Use symbols in carriers
- .proto messages for carriers
- carrier serializer/derserializer
2021-04-09 19:54:16 +03:00
Anton Bannykh
c224dd4cb1
JS IR: JsMapping serialization
2021-04-09 19:54:15 +03:00
Anton Bannykh
ba5582de99
IntArray and LongArray serialization
2021-04-09 19:54:14 +03:00
Anton Bannykh
387b84b37c
JS IR: simplify DCE root calculation
2021-04-09 19:54:13 +03:00
Mads Ager
b27a109a1e
[JVM] Fix shrinking of local range for dead variables.
...
Coroutine transform would occasionally *extend* the range of a
local instead of shrinking it (if the next suspension point
is after the end point for the local). That leads to the local
variable table having a local that covers code where it is not
defined. That is invalid and leads to D8 removing the locals
table from the code.
2021-04-09 19:06:13 +03:00
Ilya Kirillov
ebdbcbb7b6
FIR IDE: encapsulate designation into class
2021-04-09 17:49:43 +02:00
Ilya Kirillov
aff1788a4c
FIR IDE: initialize FirSession with correct language settings
2021-04-09 17:48:48 +02:00
Ilya Kirillov
9c6445d863
FIR IDE: add more test cases to file FileStructureTest
2021-04-09 17:48:48 +02:00
Ilya Kirillov
fc2bb2e3e6
FIR IDE: fix resolve in case of duplicating classes
2021-04-09 17:48:47 +02:00
Ilya Kirillov
73c175213c
FIR IDE: fix lazy resolve of type aliases
2021-04-09 17:48:47 +02:00
Ilya Kirillov
0ad64b2113
FIR IDE: fix recursive supertypes resolve in light classes
2021-04-09 17:48:47 +02:00
Ilya Kirillov
60ea64143c
FIR IDE: reuse scope session between different resolve calls for the same file
2021-04-09 17:47:05 +02:00
Ilya Kirillov
a9fc3dd1ea
FIR IDE: fix unresolved file annotations arguments
2021-04-09 17:46:24 +02:00
Ilya Kirillov
790cafa671
FIR IDE: fix deadlock in symbol providers
2021-04-09 17:46:23 +02:00
Ilya Goncharov
266daed2cb
[Gradle, JS] Mark visited dependencies inside dependency graph traversing
2021-04-09 17:32:44 +03:00
Vasily Levchenko
fd17e5e700
[build][kotlin-native][clean] adds kotlin-native/build to clean
2021-04-09 14:14:32 +00:00
Vasily Levchenko
3192b05586
[build][kotlin-native][g/c] drop unused hacks
2021-04-09 14:14:31 +00:00
Vladimir Dolzhenko
3034d9d791
Temporary (partial) rollback optimize in PackageFragmentProvider#isEmpty(FqName)
2021-04-09 15:10:47 +02:00
Vladimir Dolzhenko
0761c4bf94
Optimize KtFile.getScript
2021-04-09 14:45:20 +02:00
Mikhail Glukhikh
254e41b70d
FIR: apply bad test data changes related to ABSTRACT_*_NOT_IMPLEMENTED
2021-04-09 14:52:41 +03:00
Mikhail Glukhikh
818c54e3a6
FIR: report ABSTRACT_*_NOT_IMPLEMENTED on appropriate intersections
2021-04-09 14:52:34 +03:00
Sergey Bogolepov
0fa2821ac1
Add missing targetToolchain.macos_arm64-linux_arm32_hfp property
2021-04-09 18:26:23 +07:00
Vladimir Dolzhenko
04268a720f
Optimize KtFile.isScript
2021-04-09 12:17:51 +02:00
Denis.Zharkov
37813d9d82
Add version requirements for declarations with !! types
...
^KT-26245 Related
2021-04-09 13:06:40 +03:00
Denis.Zharkov
403406f92d
Ignore not-null assertion test related to T!! on JVM_IR
...
^KT-45935 Related
2021-04-09 13:06:39 +03:00
Denis.Zharkov
16ca8ddbbd
Do not parse !! as part of annotation type
...
^KT-26245 Related
2021-04-09 13:06:38 +03:00
Denis.Zharkov
37f923a98f
Do not approximate DefinitelyNotNullType in public declarations
...
Because since 1.6 they become normal denotable types
^KT-26245 Fixed
2021-04-09 13:06:37 +03:00
Denis.Zharkov
e74a0c7ef7
Pass languageVersionSettings to AbstractTypeApproximator
2021-04-09 13:06:35 +03:00