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
Denis.Zharkov
59372fd15f
Enable ProhibitUsingNullableTypeParameterAgainstNotNullAnnotated since 1.6
...
^KT-36770 Fixed
2021-04-09 13:06:34 +03:00
Denis.Zharkov
bd05ef19de
Add blackbox test for definitely-not-null types
...
^KT-26245 Fixed
2021-04-09 13:06:32 +03:00
Denis.Zharkov
30eb9ad32f
Add serialization/deserialization of definitely-not-null types
...
^KT-26245 In Progress
2021-04-09 13:06:31 +03:00
Denis.Zharkov
6ca6bb2d45
Load configuration for FirLoadCompiledKotlin
2021-04-09 13:06:29 +03:00
Denis.Zharkov
b9d2a1842a
Support definitely-not-null generic T!! types in Parsing and FE1.0
...
^KT-26245 In Progress
2021-04-09 13:06:28 +03:00
Jinseong Jeon
5a0b75bd89
FIR checker: warn unnecessary safe calls
2021-04-09 12:32:45 +03:00
Jinseong Jeon
2ecb6733ed
FIR checker: warn unnecessary non-null assertions
2021-04-09 12:32:45 +03:00
Mikhail Glukhikh
5229d4e4f4
Apply bad LT test changes related to COMPONENT_FUNCTION_..._MISMATCH
2021-04-09 12:32:44 +03:00
Jinseong Jeon
87c50235ed
FIR checker: report COMPONENT_FUNCTION_RETURN_TYPE_MISMATCH
2021-04-09 12:32:44 +03:00
Vladimir Dolzhenko
e511eec90e
Added optimized PackageFragmentProvider#isEmpty(FqName)
2021-04-09 09:27:39 +00:00
Andrey Zinovyev
37055c5a09
[FIR] Add REPEATED_BOUND, CONFLICTING_UPPER_BOUNDS diagnostics
2021-04-09 07:38:39 +00:00
Sergey Bogolepov
81d4c19d8b
Fix Android NDK targets
...
Android NDK dirs omit vendor part of triple,
so we have to respect its decision.
2021-04-09 13:11:14 +07:00
Mikhail Glukhikh
3e9ef56c31
Forbid using ext.property type parameter also for delegate ext.receiver
2021-04-09 07:56:35 +03:00
Mikhail Glukhikh
e2cc0510de
Rewrite FirDeclarationDataRegistry.data to avoid type parameter problems
2021-04-09 07:56:35 +03:00