Mads Ager
|
7dbb0c7d20
|
[IR] Make IrGetObjectValue copyable to avoid duplicate IR nodes.
Fixes KT-45170
|
2021-03-09 09:48:16 +03:00 |
|
Ilmir Usmanov
|
e79c9a3618
|
Extend LVT record of alive variables to end of next suspension point
Otherwise, arguments of suspend call become invisible in async stack
trace
#KT-44714
|
2021-03-08 23:56:40 +01:00 |
|
Ilmir Usmanov
|
b6bb8a576e
|
Make start label of LVT record the point where variable becomes alive
Otherwise, there will be overlapping LVT records, which leads to
removal of the whole LVT by R8.
#KT-44714 Fixed
|
2021-03-08 23:56:39 +01:00 |
|
Ilmir Usmanov
|
e17b7f01b6
|
Do not remove dead variables' LVT records
Also, extend liveness of alive variable to nearest suspension points
#KT-44714
|
2021-03-08 23:56:36 +01:00 |
|
Alexander Udalov
|
6ddca4a592
|
Add KClass.isValue to kotlin-reflect
#KT-44782 Fixed
|
2021-03-08 21:22:40 +01:00 |
|
Mikhael Bogdanov
|
4d51d71699
|
Fix EXPLICIT_OVERRIDE_REQUIRED_IN_MIXED_MODE message
|
2021-03-08 17:52:52 +00:00 |
|
Mikhael Bogdanov
|
3568eba1b2
|
Use actual implementation instead of inherited one in -Xjvm-default diagnostics
|
2021-03-08 17:52:52 +00:00 |
|
Mikhael Bogdanov
|
71c134e54f
|
Fix checker for -Xjvm-defaults
|
2021-03-08 17:52:51 +00:00 |
|
Alexander Udalov
|
8b8262096c
|
Fix testKt44814 by adding an IR dump
It's supposedly needed because of the `// DUMP_IR` directive.
|
2021-03-08 17:32:13 +01:00 |
|
Mikhail Glukhikh
|
15c3269e38
|
FIR: don't report error on inline nested classes
|
2021-03-06 09:22:35 +03:00 |
|
eugenpolytechnic
|
f6e564ffa6
|
FIR: introduce inline classes checks
|
2021-03-06 09:22:34 +03:00 |
|
Ilya Gorbunov
|
9cc8f44390
|
Support mod and floorDiv extensions in constant evaluator
Ignore evaluation tests for floorDiv and mod with FIR for now.
|
2021-03-05 23:46:57 +03:00 |
|
Ilya Gorbunov
|
58e6f775bb
|
Rename test of rem operator evaluation
|
2021-03-05 23:46:57 +03:00 |
|
Mads Ager
|
e5631addf3
|
[IR] Move annotations from original to new constructor declarations.
LocalDeclarationsLowering did not move annotations when creating
a new constructor declaration, thereby losing the annotations.
Fixes KT-45298
|
2021-03-05 12:24:38 -08:00 |
|
Mads Ager
|
965c118521
|
[JVM IR] Make upper bounds check recursive for ieee Equals.
Fixes KT-44402
|
2021-03-05 12:22:54 -08:00 |
|
Mikhael Bogdanov
|
8ff0b1e243
|
Reports warning on super calls in public-api inline functions
|
2021-03-05 18:45:07 +00:00 |
|
Igor Yakovlev
|
b744f41c0d
|
[ULC] Fix annotations invalid parents
Fixed #KT-45287
|
2021-03-05 14:33:10 +01:00 |
|
Dmitriy Novozhilov
|
aa829c2321
|
[FIR2IR] Fix using default values of annotation arguments
|
2021-03-05 13:00:12 +03:00 |
|
Dmitriy Novozhilov
|
8324f499cd
|
[FIR] Fix serializing annotation metadata on setters value parameters
|
2021-03-05 13:00:11 +03:00 |
|
scaventz
|
28452fc38e
|
Kotlinc: catch FileNotFoundException caused by problematic destination.
|
2021-03-04 11:25:35 -08:00 |
|
Jinseong Jeon
|
1090eca086
|
RAW FIR: record property accessors' own modality properly
|
2021-03-04 17:56:30 +03:00 |
|
Jinseong Jeon
|
e009b71f88
|
FIR checker: report uninitialized member/extension properties
|
2021-03-04 17:56:29 +03:00 |
|
Jinseong Jeon
|
e8028e7825
|
FIR checker: report nullable/non-class LHS of class literals
|
2021-03-04 17:09:52 +03:00 |
|
Dmitriy Novozhilov
|
a6d1d47918
|
[FIR] Fix clearing info about DF variable after reassignment
|
2021-03-04 17:09:17 +03:00 |
|
Mikhail Glukhikh
|
6470b713d5
|
FIR: set isConst on primary constructor properties
|
2021-03-04 16:13:50 +03:00 |
|
Mikhail Glukhikh
|
d7a6fc80b0
|
FIR: don't report CONST_VAL_NOT_TOP_LEVEL_OR_OBJECT on variables
|
2021-03-04 16:13:50 +03:00 |
|
Br0mm
|
dd3bc1a964
|
FIR: Introduce CONST_VAL_NOT_TOP_LEVEL_OR_OBJECT diagnostic
|
2021-03-04 16:13:50 +03:00 |
|
Tianyu Geng
|
89ce629352
|
FIR: report VARARG_OUTSIDE_PARENTHESES
|
2021-03-03 20:23:59 +03:00 |
|
Jinseong Jeon
|
f1fa290d49
|
FIR checker: report val reassignment
|
2021-03-03 12:27:11 +03:00 |
|
Mads Ager
|
8e9dfc23b6
|
FIR: Take targeted annotations into account for metadata
Getter/setter targeted annotations were not correctly reflected
in the kotlin metadata which made them not work with
kotlin-reflect.
|
2021-03-03 08:48:28 +03:00 |
|
Dmitriy Novozhilov
|
714c2a8f93
|
[FIR] Bind return expression to function symbol instead of function itself
|
2021-03-02 19:11:27 +03:00 |
|
Dmitriy Novozhilov
|
245bc7c8e2
|
[FIR2IR] Fix interpreting constants from const properties from other module
|
2021-03-02 19:11:26 +03:00 |
|
Dmitriy Novozhilov
|
a7e6667648
|
[FIR] Properly deserialize annotations of properties in interfaces
|
2021-03-02 19:11:24 +03:00 |
|
Dmitriy Novozhilov
|
da0fd7cc15
|
[FIR2IR] Approximate non-denotable types when converting ConeType to IrType
|
2021-03-02 19:11:21 +03:00 |
|
Dmitriy Novozhilov
|
b31b293eef
|
[FIR] Update testdata according to KT-45223
|
2021-03-02 19:11:17 +03:00 |
|
Dmitriy Novozhilov
|
af79265f42
|
[FIR] Fix creating overrides for functions with name same as renamed in JVM builtins
|
2021-03-02 19:11:15 +03:00 |
|
Anton Bannykh
|
b0e0e62c0b
|
Propagate isExternal flag in Psi2Ir and deserializer
|
2021-03-02 14:30:16 +03:00 |
|
Mikhael Bogdanov
|
77559e8299
|
Temporary mute reflection test on Android
|
2021-03-01 18:05:27 +01:00 |
|
Pavel Kirpichenkov
|
c68a4bdc0f
|
[MPP] Consider expect-actual inline/value classes interchangeable
^KT-44926 Fixed
|
2021-03-01 19:25:31 +03:00 |
|
Pavel Kirpichenkov
|
c8c44da061
|
Add test for KT-44926
|
2021-03-01 19:25:29 +03:00 |
|
Mikhael Bogdanov
|
989fea3399
|
Remove version requirements for -Xjvm-default=enable (1.2.40) and JvmFieldInInterface(1.2.70)
|
2021-03-01 16:20:20 +01:00 |
|
Mikhael Bogdanov
|
49aa36b70d
|
Generate local delegated properties in interface in jvm-default all modes
|
2021-03-01 16:20:20 +01:00 |
|
Mikhael Bogdanov
|
c25a694b6b
|
Generate private suspend functions as private (not synthetic package-private)
#KT-26592 Fixed
|
2021-03-01 16:20:19 +01:00 |
|
Mikhael Bogdanov
|
ad8eddac99
|
Add test for private suspend and JVM defaults
|
2021-03-01 16:20:19 +01:00 |
|
Mikhael Bogdanov
|
8764bb09f2
|
Generate synthetic annotation method in interface if -Xjvm-default is on
|
2021-03-01 16:20:19 +01:00 |
|
Mikhail Glukhikh
|
6fee46316e
|
FIR: fix MANY_COMPANION_OBJECTS positioning
|
2021-03-01 16:57:55 +03:00 |
|
Tianyu Geng
|
724ca1d3ee
|
FIR: introduce diagnostic NESTED_CLASS_NOT_ALLOWED
|
2021-03-01 16:57:54 +03:00 |
|
Jinseong Jeon
|
c5cabce2d5
|
FIR: check visibility properly for CANNOT_CHANGE_ACCESS_PRIVILEGE
|
2021-03-01 16:57:51 +03:00 |
|
Stanislav Erokhin
|
f77ba914c7
|
[MERGE] Kotlin/Native history merged into kotlin/master
|
2021-02-26 15:30:58 +01:00 |
|
Alexander Udalov
|
417eb60ed3
|
Revert "Change order of WITH_RUNTIME and FILE. Wrong order brakes module pattern."
This reverts commit 073a500370.
(cherry picked from commit eec98314c8)
|
2021-02-26 12:51:53 +01:00 |
|