Steven Schäfer
6af616d3c3
FIR: make declarations marked with 'override' implicitly open
...
#KT-52236 Fixed
2022-12-14 21:46:41 +00:00
Dmitrii Gridin
7bfa900ce6
[SLC] fix modality for methods and property accessors
...
^KTIJ-23783
2022-12-06 13:40:46 +00:00
Yan Zhulanow
e21226d02a
[SLC] Ignore callables with invalid or absent names (KTIJ-23584)
2022-11-15 16:13:59 +00:00
Jinseong Jeon
8d8d0d9922
SLC: add marker interface for collection inheritor
2022-10-27 14:41:24 +02:00
Dmitriy Novozhilov
06f3c0567b
[LC Test] Fix IDE testdata
2022-09-15 17:27:23 +03:00
Dmitriy Novozhilov
c5916e1d1f
[AA LC] Fix computation of const initializers of fields
2022-09-15 17:27:23 +03:00
Dmitriy Novozhilov
c67ded2d3b
[AA LC] Properly set type mapping mode for bounds of type parameters
2022-09-15 17:27:22 +03:00
Dmitriy Novozhilov
ab2aa3117b
[AA LC] Add @java.lang.Override on override functions
2022-09-15 17:27:21 +03:00
Dmitry Gridin
dd824aacb6
Revert "Revert "[light classes] drop old light classes and backend: iteration #2 ""
...
This reverts commit 43b4df74bc .
2022-06-28 17:57:30 +02:00
Dmitry Gridin
43b4df74bc
Revert "[light classes] drop old light classes and backend: iteration #2 "
...
This reverts commit 97ce502cbe .
2022-06-28 13:52:10 +02:00
Dmitry Gridin
97ce502cbe
[light classes] drop old light classes and backend: iteration #2
...
drop javaFileStub and fix tests
^KT-48773
2022-06-28 11:44:39 +00:00
Jinseong Jeon
63fb00fa21
FIR LC: revisit when to add fields to companion and/or containing class
2022-05-24 20:32:55 +02:00
Jinseong Jeon
0212e9daae
FIR LC: always run with STDLIB (to handle JVM annotations)
2022-05-24 20:32:55 +02:00
Ilya Kirillov
62c9a7888b
Analysis: remove // FIR_COMPARISON form LC testdata as LC tests are moved from IJ
2021-12-27 16:23:21 +03:00
Ilya Kirillov
db31e0292c
Analysis: add LC testdata with current behaviour
2021-12-27 16:23:20 +03:00
Stanislav Erokhin
c591601274
[LC] IDE LightClasses testdata update
...
Unfortunately, the same testdata is used in IDE, so we should change
testdata in compiler repo and this will affect IDE repo.
This commit is the cherry-pick of commits from IDE repo:
- 4310d730795a53a Fix UltraLightClassLoadingTestGenerated.testEnums():
check by Java file as ULC produces a different but better result
Yan Zhulanow 3/17/21, 8:57 AM
- fbe3c8ba0841f2d4 Disable comparison test for
UltraLightClassSanityTestGenerated.
testAnnotatedPropertyWithSites() Yan Zhulanow 3/18/21, 1:33 PM
- 8fc53027343b5b53 Ignore known (for ages) broken behaviour
of LC Vladimir Dolzhenko 3/19/21, 11:17 PM
2021-11-01 10:38:09 +00:00
Ilya Kirillov
cf04be5207
FIR IDE: temp mute failing light class test
2021-06-21 00:51:30 +02:00
Igor Yakovlev
e4870740e1
[LC] Fixed light classes nullability for Kotlin 1.5
...
Fixed #KT-44472
2021-04-20 15:21:12 +02:00
Jinseong Jeon
a884555171
FIR: bail out early for override check if base candidate is private
2021-02-15 19:16:36 +03:00
Igor Yakovlev
2a8f783393
[FIR IDE] HL API Better support of nullability and modality
2020-12-02 15:13:06 +03:00
Igor Yakovlev
dbb54c87bc
[FIR IDE] Add Fir lightclasses tests and fix FindUsages tests
2020-11-11 21:02:00 +03:00
Igor Yakovlev
e08763f3dd
[ULC] Add annotations for PsiTypes in UltraLight classes
...
WIP on KT-41148, KT-41406, KT-41420
2020-09-11 12:49:05 +03:00
Igor Yakovlev
309bf49a83
Update lightclass tests renderer
...
+mute invalid old light classes tests
2020-09-11 12:49:04 +03:00
Dmitry Petrov
3f266aafb4
JVM: no nullability annotations on private and synthetic fields
2020-06-25 22:31:12 +03:00
Igor Yakovlev
4693d595b7
Fix UL classes tests
...
Fixed #KT-36717
2020-02-20 18:03:10 +03:00
Igor Yakovlev
f1f4bc6c2a
Fix IdeRegression.testImplementingMutableSet test data
2019-10-04 09:55:39 +03:00
Igor Yakovlev
32a8fe1ca9
Fix IdeRegression.testImplementingMutableSet test data
2019-10-02 20:18:24 +03:00
Dmitry Savvinov
2783e9939b
Fix internal-visibility mangling in IDE
...
Collect module name properly from facets settings, using CLI arguments
which define module name ('-module-name' on JVM and Common,
'-output-file' on JS).
^KT-23668 Fixed
2018-07-09 18:50:50 +03:00
Alexander Udalov
4484335eac
Update light classes test data after d0ed0c4049
2018-03-15 18:23:16 +01:00
Pavel V. Talanov
19db4304bd
Use clsDelegate to calculate hasModifierProperty("final") for light psi
...
AllOpen plugin can make some changes and we don't have the tools to make
correct decision based on psi
#KT-17857 Fixed
2017-06-06 17:11:18 +03:00
Dmitry Petrov
c558e2657b
Update testData for light classes after generic signature fixes
2017-05-31 10:18:48 +03:00
Pavel V. Talanov
f750d08350
Light classes: test extending Number and CharSequence
2017-05-16 22:01:06 +03:00
Pavel V. Talanov
798c80ed07
Use wrappers around java.util.* to emulate kotlin.collection.* behaviour
...
Backend: If kotlin class extends kotlin.collection.List
write it as it's super interface (light class mode only)
IDE: Provide wrapper classes to java resolve
that try to emulate backend behaviour
For example if kotlin class implements kotlin.collections.Map,
we provide a superinterface that has abstract 'getEntries' method
and 'entrySet' method that is considered default.
In reality all those methods are generated in the class itself.
In IDE supporting this case without hacks is not feasible performance-wise
since kotlin.collection.* may not be an immediate supertype and we need
to compute all supertypes just to calculate own methods of the class
2017-05-16 22:01:03 +03:00
Pavel V. Talanov
ec4da854b8
Codegen: fix NPE in NO_ANNOTATION_VISITOR
...
EA-100245 fixed
2017-04-18 14:59:49 +03:00
Pavel V. Talanov
a81bac0b50
LightClassTest: test corner cases related to inherited visiblity
...
EA-99155
#KT-16899 Fixed
2017-03-27 17:58:51 +03:00