Ivan Kochurkin
|
5fda933c33
|
[FIR] Unify code of type unification, fix intersection types processing in FirCastDiagnosticsHelpers.kt
|
2021-11-12 15:20:47 +03:00 |
|
Ivan Kochurkin
|
a509e819b5
|
[FIR] Revert changes related to reporting WRONG_NUMBER_OF_TYPE_ARGUMENTS for type aliases
|
2021-11-12 15:20:46 +03:00 |
|
Ivan Kochurkin
|
d0a4ca199d
|
[FIR] Add UNCHECKED_CAST
Regenerate diagnostics code
|
2021-11-12 15:20:45 +03:00 |
|
Ivan Kochurkin
|
1fbccff1bd
|
[FIR] Rename isCastPossible to checkCasting, return CastingType instead of boolean
|
2021-11-12 15:20:45 +03:00 |
|
Ivan Kochurkin
|
2b5524b18f
|
[FIR] Add CAST_NEVER_SUCCEEDS
|
2021-11-12 15:20:44 +03:00 |
|
Ivan Kochurkin
|
291bc74676
|
[FIR] Add CANNOT_CHECK_FOR_ERASED
|
2021-11-12 15:20:43 +03:00 |
|
Ivan Kochurkin
|
e52a410599
|
[FIR] Initialize outer type parameters for local classes
|
2021-11-12 15:20:42 +03:00 |
|
Ivan Kochurkin
|
38820d3e41
|
[FIR] Implement WRONG_NUMBER_OF_TYPE_ARGUMENTS for top level type aliases
|
2021-11-12 15:20:42 +03:00 |
|
Ivan Kochurkin
|
d4a11fc295
|
[FIR] Disallow bare types for nested type arguments
Detect missing WRONG_NUMBER_OF_TYPE_ARGUMENTS
|
2021-11-12 15:20:40 +03:00 |
|
Denis.Zharkov
|
6e15ee8fea
|
FIR: Refine callable reference resolution in assignment position
synthetic_select<() -> T>(::foo) form allows to select better candidate
than synthetic_select(::foo) with expect type `() -> T`
|
2021-11-10 22:00:01 +03:00 |
|
Denis.Zharkov
|
65d7da122f
|
FIR: Fix invalid INITIALIZER_TYPE_MISMATCH for suspend lambda
|
2021-11-10 22:00:01 +03:00 |
|
Denis.Zharkov
|
994040c91c
|
FIR: Support invoke convention on super-qualified calls
|
2021-11-10 22:00:00 +03:00 |
|
Ivan Kochurkin
|
c9ad2b3bf9
|
[FIR] Ignore visited super types during bypass in FirInconsistentTypeParameterHelpers
Get rid of potential exponential complexity
|
2021-11-10 19:07:26 +03:00 |
|
Mads Ager
|
b79ca7d7df
|
[FIR] Allow annotation instantiation.
This commit disables the frontend error reporting for supported cases.
|
2021-11-09 23:51:48 +03:00 |
|
Ilya Kirillov
|
348403b1f3
|
FIR: do not inherit external modifier from super declaration
|
2021-11-08 19:01:35 +01:00 |
|
Nikolay Lunyak
|
4a3a621196
|
[FIR] Add isVisible check to resolveRootPartOfQualifier
|
2021-11-04 15:52:11 +00:00 |
|
Denis.Zharkov
|
2e37ec6f0c
|
FIR: Fix false-positive ILLEGAL_RESTRICTED_SUSPENDING_FUNCTION_CALL on invokeExtension calls
|
2021-11-02 19:08:27 +03:00 |
|
Denis.Zharkov
|
37b5237e97
|
FIR: Fix type alias case for callable reference resolution type
|
2021-11-02 19:08:26 +03:00 |
|
Ilya Goncharov
|
8e5fb50506
|
[JS IR] Fix diagnostic test on exportness of enum classes
^KT-37916 fixed
^KT-44494 fixed
|
2021-11-01 13:28:23 +00:00 |
|
Victor Petukhov
|
4118f3146b
|
Use proper isPlaceholder check for psi type references
|
2021-11-01 13:03:41 +03:00 |
|
Victor Petukhov
|
c8dea3db35
|
Add test for using underscored type in different positions
|
2021-11-01 13:03:40 +03:00 |
|
Victor Petukhov
|
d1acb09add
|
Report unsupported on using underscored type argument if the corresponding feature is disabled
|
2021-11-01 13:03:40 +03:00 |
|
Victor Petukhov
|
8a99aa4b42
|
[FIR] Don't build placeholder projection for types
|
2021-11-01 13:03:40 +03:00 |
|
Victor Petukhov
|
5508d40371
|
Put using underscored type arguments under a feature
|
2021-11-01 12:25:45 +03:00 |
|
Victor Petukhov
|
1073adbbf0
|
Report unsupported errors on annotations on underscored type arguments
|
2021-11-01 12:25:14 +03:00 |
|
Victor Petukhov
|
248c9550cd
|
Support type annotations resolution on an underscored type argument
|
2021-11-01 12:25:10 +03:00 |
|
Victor Petukhov
|
b69fb6779f
|
Basic support of partially specified type arguments though a new underscore operator for type arguments
^KT-13394
|
2021-11-01 12:25:07 +03:00 |
|
Artem Kobzar
|
979e9f94ef
|
feat(Escaped Identifiers): add ability to use any symbol wrapped in back ticks.
|
2021-10-29 17:55:59 +00:00 |
|
zhelenskiy
|
ea10b4a781
|
Synchronizing by values and primitives is forbidden
Signed-off-by: zhelenskiy <zhelenskiy2000@yandex.ru>
|
2021-10-29 18:50:30 +02:00 |
|
Dmitriy Novozhilov
|
877b53201b
|
[FIR] Prohibit access to members of companion of enum from enum entry initializer
^KT-49110
|
2021-10-29 18:45:23 +03:00 |
|
Dmitriy Novozhilov
|
58889a2b5c
|
[FE 1.0] Prohibit access to members of companion of enum from enum entry initializer
^KT-49461 Fixed
^KT-49110
|
2021-10-29 18:45:19 +03:00 |
|
Ivan Kochurkin
|
744191099c
|
[FIR] Fix false positive "return required" for if/else with inlined return in branch
^KT-49289 Fixed
|
2021-10-28 20:02:25 +03:00 |
|
Nikolay Lunyak
|
0eb2d117ef
|
[FIR] KT-45972, KT-49072: Add visibility checks to the type resolution
|
2021-10-28 14:31:27 +03:00 |
|
Mikhail Glukhikh
|
8bd0b237b7
|
Convert EXPOSED_PROPERTY_TYPE_IN_CONSTRUCTOR into deprecation error
#KT-28078 Fixed
|
2021-10-27 19:43:01 +03:00 |
|
Tianyu Geng
|
a969e5af50
|
FIR: fix API mode checker for local functions
|
2021-10-27 19:42:52 +03:00 |
|
Tianyu Geng
|
31b7248769
|
FIR: suppress excessive warning on java Class
The root cause is https://youtrack.jetbrains.com/issue/KT-49358 though.
We should undo this change after that issue is fixed.
|
2021-10-27 19:42:45 +03:00 |
|
Dmitriy Novozhilov
|
f26059a7d3
|
[FE] Add clear warning about future changes about nullability of safe call with non nullable receiver
^KT-46860
|
2021-10-27 16:28:37 +03:00 |
|
Mikhail Glukhikh
|
b0ec3cb831
|
Switch off FIR version off REDUNDANT_LABEL_WARNING (performance-related)
This reverts commit 363b2550 (partially)
|
2021-10-27 12:26:59 +03:00 |
|
Victor Petukhov
|
34fb61fb3e
|
Postpone promoting warnings to errors for ProperTypeInferenceConstraintsProcessing
^KT-49322 Fixed
|
2021-10-26 19:38:00 +03:00 |
|
Victor Petukhov
|
e0a4704c21
|
Revert "Make freshly substituted type variables def not nullable if they come from not null type parameter"
This reverts commit 41936a790b37bef45d7e7dad851856ea1750ef01.
|
2021-10-26 19:37:58 +03:00 |
|
Victor Petukhov
|
2261928f4f
|
Process simple CapturedType in ClassicTypeSystemContext.typeConstructorProjection as well
^KT-49101 Fixed
|
2021-10-26 19:37:58 +03:00 |
|
Victor Petukhov
|
836c6b280d
|
Make freshly substituted type variables def not nullable if they come from not null type parameter
^KT-48778 Fixed
|
2021-10-26 19:37:57 +03:00 |
|
Victor Petukhov
|
02d06b6390
|
Transform VisibilityError diagnostic for callable references to further report it on the corresponding argument of a base call
^KT-46437 Fixed
|
2021-10-26 19:37:57 +03:00 |
|
Victor Petukhov
|
d015d3bc0e
|
Don't enhance previously erased value parameters for jspecify strict mode
^KT-48261 Fixed
|
2021-10-26 19:37:55 +03:00 |
|
Denis.Zharkov
|
5690a9f21b
|
FIR: Fix overridability of Kotlin vararg from Java
|
2021-10-26 18:45:59 +03:00 |
|
Denis.Zharkov
|
4b1ce6c1a7
|
FIR: Fix safe call receiver nullability after null check
|
2021-10-26 18:45:59 +03:00 |
|
Denis.Zharkov
|
0bdea4f20a
|
FIR: Do not create incorrect synthetic property
|
2021-10-26 18:45:59 +03:00 |
|
Denis.Zharkov
|
52c2908bb7
|
FIR: Fix another inconsistency with FE1.0 in synthetic properties resolution
|
2021-10-26 18:45:59 +03:00 |
|
Denis.Zharkov
|
16e8e0e58b
|
FIR: Add test on raw type scope
^KT-49351 Related
|
2021-10-26 18:45:58 +03:00 |
|
Denis.Zharkov
|
94129dce2e
|
FIR: Add a test with current behavior on upper bounds with raw types
^KT-49345 Related
|
2021-10-26 18:45:58 +03:00 |
|