Jinseong Jeon
|
f0f1e2d945
|
FIR checker: report CAPTURED_VAL_INITIALIZATION
|
2021-05-20 13:59:13 +03:00 |
|
Andrey Zinovyev
|
d38effcbbe
|
Use camel-case in FirFunctionCallOrigin
Also componentCall is operator call
|
2021-05-20 13:46:35 +03:00 |
|
Andrey Zinovyev
|
419aa65381
|
[FIR] Fix more tests because of modifier usage in resolution
|
2021-05-20 13:46:34 +03:00 |
|
Andrey Zinovyev
|
07a8ae7e71
|
[FIR] Mark more calls origin as OPERATOR
|
2021-05-20 13:46:32 +03:00 |
|
Andrey Zinovyev
|
0a45b3a50b
|
[FIR] Set Function call origin to assign operators' functions
|
2021-05-20 13:46:31 +03:00 |
|
Andrey Zinovyev
|
e021e25d6c
|
[FIR] Resolve operator calls to operator functions only
|
2021-05-20 13:46:29 +03:00 |
|
Andrey Zinovyev
|
b1c8669b43
|
[FIR] Resolve infix calls to infix functions only
Implements INFIX_MODIFIER_REQUIRED diagnostics
|
2021-05-20 13:46:27 +03:00 |
|
Mikhail Glukhikh
|
6dd41b617a
|
FIR: position INAPPLICABLE_FILE_TARGET on file use-site (when possible)
|
2021-05-20 12:22:22 +03:00 |
|
Mikhail Glukhikh
|
6572010eed
|
Introduce use-site annotation target checks for FIR
|
2021-05-20 12:22:22 +03:00 |
|
Mikhail Glukhikh
|
9a13ec9b76
|
FIR: report WRONG_ANNOTATION_TARGET on types
|
2021-05-20 12:22:22 +03:00 |
|
Mikhail Glukhikh
|
2a33a6927c
|
FIR: report WRONG_ANNOTATION_TARGET(_WITH_USE_SITE_TARGET) on declarations
|
2021-05-20 12:22:21 +03:00 |
|
Mikhail Glukhikh
|
d11092ae3c
|
FIR: support WRONG_ANNOTATION_TARGET on expressions
|
2021-05-20 12:22:21 +03:00 |
|
Mikhail Glukhikh
|
92ab600081
|
FIR: add check of SOURCE retention for EXPRESSION-targeted annotation
|
2021-05-20 12:22:21 +03:00 |
|
Mikhail Glukhikh
|
4b00a43b22
|
FIR: add ANNOTATION_ON_SUPERCLASS diagnostic
|
2021-05-20 12:22:20 +03:00 |
|
Mikhail Glukhikh
|
0d6bc7e7b2
|
FIR: report ANNOTATION_CLASS_CONSTRUCTOR_CALL diagnostic
|
2021-05-20 12:22:20 +03:00 |
|
Mikhail Glukhikh
|
3663884db2
|
FIR: support CONDITION_TYPE_MISMATCH diagnostic
We report CONDITION_TYPE_MISMATCH on
- loop conditions
- when branch conditions
- binary logic arguments
|
2021-05-20 12:22:20 +03:00 |
|
Mikhail Glukhikh
|
e85d97b894
|
FIR: introduce separate THROWABLE_TYPE_MISMATCH
|
2021-05-20 12:22:20 +03:00 |
|
Dmitriy Novozhilov
|
e08df2c530
|
[Test] Add diagnostics and codegen tests with hmpp module structure
|
2021-05-19 00:52:31 +03:00 |
|
Dmitriy Novozhilov
|
06b2efe65f
|
[Test] Introduce new syntax for dependsOn dependencies
|
2021-05-19 00:52:27 +03:00 |
|
Victor Petukhov
|
b78c645fb0
|
Report warnings by enhanced base types
|
2021-05-18 17:52:39 +03:00 |
|
Victor Petukhov
|
cba221c18a
|
Add test for enhancement in usages of annotated type parameter
|
2021-05-18 17:52:21 +03:00 |
|
Victor Petukhov
|
fd6475c804
|
Update tests
|
2021-05-18 17:52:19 +03:00 |
|
Victor Petukhov
|
8602d1fcf0
|
Merge foreign annotation tests for sources and binaries into single directory
|
2021-05-18 17:52:16 +03:00 |
|
Victor Petukhov
|
df2c95e444
|
[Jspecify] Use bounds of type parameters for warnings reporting as well
|
2021-05-18 17:52:14 +03:00 |
|
Victor Petukhov
|
0c4cba549d
|
[Jspecify] Use arguments of enhancement of type instead of arguments of base type during getting enhancement of type deeply
|
2021-05-18 17:52:12 +03:00 |
|
Victor Petukhov
|
21dada4d2d
|
[Jspecify] Use enhancement of type with enhancement if possible during substitution
|
2021-05-18 17:52:10 +03:00 |
|
Victor Petukhov
|
12f6146bdf
|
[Jspecify] Substitute enhancement of type instead of type itself directly
|
2021-05-18 17:52:09 +03:00 |
|
Victor Petukhov
|
2479655708
|
[Jspecify] Do preserving flexibility when adding equality constraints by taking into account type with enhancement
|
2021-05-18 17:52:07 +03:00 |
|
Victor Petukhov
|
937e82db46
|
[Jspecify] Report warnings on violated bounds of method type parameters
|
2021-05-18 17:52:06 +03:00 |
|
Victor Petukhov
|
0d6764efc5
|
Process raw types during erasion properly
^KT-46670 Fixed
^KT-46476 Fixed
|
2021-05-18 17:38:52 +03:00 |
|
Ivan Kochurkin
|
73fb851864
|
[FIR] Commit incorrect test data that should be restored after fix of https://youtrack.jetbrains.com/issue/KT-41794
|
2021-05-17 22:33:19 +03:00 |
|
Ivan Kochurkin
|
c3b8f3e859
|
[FIR] Add lValueTypeRef to FirVariableAssignment, fix tests with ASSIGNMENT_TYPE_MISMATCH
|
2021-05-17 22:33:18 +03:00 |
|
Ivan Kochurkin
|
e57108d4e8
|
[FIR] Implement ASSIGNMENT_TYPE_MISMATCH, RESULT_TYPE_MISMATCH diagnostics, fix tests
|
2021-05-17 22:33:16 +03:00 |
|
Igor Yakovlev
|
ae63ad0b6d
|
[FIR] Fix annotations invalid references diagnostics
|
2021-05-14 23:05:44 +03:00 |
|
Dmitriy Novozhilov
|
24b6c5df56
|
Add regression test for KT-45905
|
2021-05-14 14:30:14 +03:00 |
|
Mikhail Glukhikh
|
1a3aa1bff0
|
FIR: report ANNOTATION_PARAMETER_DEFAULT_VALUE_MUST_BE_CONSTANT
|
2021-05-13 16:13:44 +03:00 |
|
Mikhail Glukhikh
|
0f9f63400e
|
FirSupertypesChecker: implement six more diagnostics
|
2021-05-13 16:13:43 +03:00 |
|
Mikhail Glukhikh
|
6618b4ea57
|
FirPropertyAccessorChecker: add three new diagnostics
|
2021-05-13 16:13:07 +03:00 |
|
Dmitriy Novozhilov
|
1a3b5657c7
|
[FIR] Fix overload conflicts resolution for callable references with defaults
|
2021-05-13 15:31:18 +03:00 |
|
Andrey Zinovyev
|
5d30576d28
|
[FIR] Report not-a-constant diagnostics inside function calls
When function calls are not fully resolved
|
2021-05-13 10:15:26 +03:00 |
|
Andrey Zinovyev
|
e74141ded6
|
[FIR] Properly check spread constant argument
|
2021-05-13 10:13:21 +03:00 |
|
Ivan Kochurkin
|
598501aaf0
|
[FIR] Improve locations for DEPRECATED_SINCE_KOTLIN_WITHOUT_DEPRECATED, DEPRECATED_SINCE_KOTLIN_WITH_DEPRECATED_LEVEL, DEPRECATED_SINCE_KOTLIN_OUTSIDE_KOTLIN_SUBPACKAGE and other diagnostics, refactor
|
2021-05-12 18:42:44 +03:00 |
|
Ivan Kochurkin
|
52c32d3d85
|
[FIR] Implement DEPRECATED_SINCE_KOTLIN_OUTSIDE_KOTLIN_SUBPACKAGE, fix tests
|
2021-05-12 18:42:43 +03:00 |
|
Ivan Kochurkin
|
177394f6ef
|
[FIR] Implement DEPRECATED_SINCE_KOTLIN_WITH_DEPRECATED_LEVEL, fix tests
|
2021-05-12 18:42:42 +03:00 |
|
Ivan Kochurkin
|
77c137df22
|
[FIR] Add DEPRECATED_SINCE_KOTLIN_WITHOUT_DEPRECATED diagnostics, fix tests
|
2021-05-12 18:42:41 +03:00 |
|
Ivan Kochurkin
|
3191e0b925
|
[FIR] Implement DEPRECATED_SINCE_KOTLIN_WITHOUT_ARGUMENTS diagnostics, fix tests, merge and refactor annotation checkers
|
2021-05-12 18:42:40 +03:00 |
|
Ivan Kochurkin
|
dc99a673a5
|
[FIR] Implement DEPRECATED_SINCE_KOTLIN_WITH_UNORDERED_VERSIONS diagnostics, fix tests
|
2021-05-12 18:42:38 +03:00 |
|
Ivan Kochurkin
|
5c086e2321
|
[FIR] Implement NEWER_VERSION_IN_SINCE_KOTLIN diagnostics, fix tests
|
2021-05-12 18:42:37 +03:00 |
|
Ivan Kochurkin
|
1be02e3ac4
|
[FIR] Implement ILLEGAL_KOTLIN_VERSION_STRING_VALUE diagnostics, fix tests
|
2021-05-12 18:42:36 +03:00 |
|
Mikhail Glukhikh
|
4608ca15eb
|
FIR: don't allow SEALED callable modality anymore
|
2021-05-12 17:50:29 +03:00 |
|