Mikhail Glukhikh
6b95bcdbdb
FIR: support separate ASSIGNMENT_IN_EXPRESSION_CONTEXT
2021-04-19 15:10:18 +03:00
Mikhail Glukhikh
9894b97058
FIR: rename EXPRESSION_REQUIRED to EXPRESSION_EXPECTED
2021-04-19 15:09:50 +03:00
Ilya Kirillov
26ea0be635
FIR IDE: temporary update testdata until diagnostic collection for delegated objects is fixed
2021-04-19 13:52:47 +02:00
Ilya Kirillov
f40f506852
FIR: move components from AbstractDiagnosticCollectorVisitor to CheckerRunningDiagnosticCollectorVisitor
2021-04-19 13:52:46 +02:00
Ilya Kirillov
ea233cddf8
FIR: rename goToNestedDeclarations -> visitNestedElements
2021-04-19 13:52:46 +02:00
Ilya Kirillov
eed143d17b
FIR: remove beforeRunningAllComponentsOnElement/beforeRunningSingleComponentOnElement from AbstractDiagnosticCollectorVisitor
2021-04-19 13:52:45 +02:00
Ilya Kirillov
41e822e8cb
FIR IDE: fix duplicated diagnostic collection
2021-04-19 13:52:44 +02:00
Ilya Kirillov
5829f1a6e7
FIR IDE: add more test cases to TraversalCounterTestGenerated
2021-04-19 13:52:43 +02:00
Ilya Kirillov
e78e8f8c79
FIR IDE: fix behaviour of DiagnosticTraversalCounterTest
2021-04-19 13:52:43 +02:00
Ilya Kirillov
32c1101959
FIR IDE: introduce tests for checking diagnostic visitor context collection
2021-04-19 13:52:42 +02:00
Ilya Kirillov
ac993754e1
FIR IDE: collect diagnostics context under read lock
2021-04-19 13:52:41 +02:00
Ilya Kirillov
ce62348709
FIR IDE: do not report suppressed diagnostics
2021-04-19 13:52:41 +02:00
Ilya Kirillov
fd082b1574
FIR IDE: get rid of DiagnosticCollectorDeclarationAction
2021-04-19 13:52:40 +02:00
Ilya Kirillov
e79c133331
FIR IDE: separate diagnostics collection and checker context collection
2021-04-19 13:52:39 +02:00
Ilya Kirillov
29a0c448a6
FIR IDE: remove FirIdeFileDiagnosticsCollector as unused
2021-04-19 13:52:38 +02:00
Ilya Kirillov
023f4e9f46
FIR: extract DiagnosticCollectingVisitor to separate file
2021-04-19 13:52:38 +02:00
Ilya Kirillov
f9d415eda6
FIR: make AbstractDiagnosticCollector.Visitor non-inner
2021-04-19 13:52:37 +02:00
Ilya Kirillov
284e828cd6
FIR: extract context related functions from AbstractDiagnosticCollector.Visitor to super class
2021-04-19 13:52:36 +02:00
Dmitriy Novozhilov
e3b5cc491d
[Test] Throw exception from compiler at a first place
2021-04-19 14:32:37 +03:00
Dmitriy Novozhilov
7fb2bf00c5
Force resolve annotations in annotation checker
...
#KT-46173 Fixed
2021-04-19 14:32:36 +03:00
Dmitriy Novozhilov
83bae89ed8
[Test] Show diff between fir file and testdata text if FE 1.0 and FIR test files don't match
2021-04-19 14:32:35 +03:00
Ivan Kochurkin
4353365968
[FIR] Implement NULL_FOR_NONNULL_TYPE diagnostics, fix tests
2021-04-19 12:46:08 +03:00
sebastian.sellmair
9336e4b09b
HierarchicalKotlinNativePlatformDependencies: Provide platform dependencies to source sets not participating in any commonization
...
^KT-46142 Verification Pending
2021-04-17 14:58:15 +00:00
Aleksei.Cherepanov
b5ef6c9316
Add tests for SAM conversions
...
Add tests for KT-45191 [JPS] Marking method as "default" in Java SAM interface doesn't affect dependencies, which was fixed in intlellij(212): cbad0d91 support kotlin-generated lambda usage
#KT-45191 Fixed
2021-04-17 03:36:17 +03:00
Andrei Klunnyi
81a5ae7780
KT-44431 Quickfix to move to sealed: suggests tests source root
...
From now on we display the source root matching the target directory.
^KT-44431 Fixed
2021-04-16 19:38:52 +02:00
Andrei Klunnyi
eed4cb4f00
KT-44431 Quickfix to move to sealed: refactoring
...
Sealed super class directory is now calculated in a more
straightforward way.
2021-04-16 19:38:52 +02:00
Abduqodiri Qurbonzoda
3a8d1c4b5e
Remove redundant @OptIn
2021-04-16 19:01:28 +03:00
Abduqodiri Qurbonzoda
f253b1fb15
Incorrect description for JVM toUpperCase method #KT-45884
2021-04-16 19:01:09 +03:00
Ilmir Usmanov
7b14975740
Add 'value' modifier to modifier order
...
Otherwise, there will be unfixable 'non-canonical modifier order'
warning
#KT-46088
#KTIJ-5636 Fixed
2021-04-16 18:51:44 +03:00
sebastian.sellmair
7525d9a1ce
KotlinNativeTest: Append stdOut and stdErr to failure message
2021-04-16 14:56:33 +00:00
sebastian.sellmair
05a6d89151
[Minor] Re-format :kotlin-klib-commonizer and :kotlin-klib-commonizer-api
2021-04-16 14:56:32 +00:00
sebastian.sellmair
f893709e5b
[Commonizer] CommonizeLibcurlTest: Add commonizeSuccessfully with unsupported targets
...
This test will assert behaviour on 'unsupported' targets requested from the commonizer
^KT-46077
2021-04-16 14:56:31 +00:00
sebastian.sellmair
bbcfde7231
[Commonizer] Add 'commonizer_target' and 'commonizer_native_targets' to commonized klib's manifest
...
^KT-46077 Fixed
2021-04-16 14:56:31 +00:00
Alexander Likhachev
6f96c225d7
[Gradle, K/N] Prefer injection over lateinit vars for task configuration
...
#KT-45801 Fixed
2021-04-16 17:39:53 +03:00
Dmitriy Novozhilov
b530427bb2
Fix substitution of generic types in contracts
...
#KT-41078 Fixed
2021-04-16 17:23:24 +03:00
Dmitriy Novozhilov
91fedd6a12
[FIR] Substitute types from arguments in evaluating of contract
...
#KT-41078
2021-04-16 17:23:22 +03:00
Anton Lakotka
80f95528c2
[MPP] Always use native plugin artifact for native compilations
...
#KT-46122 Fixed
2021-04-16 16:25:06 +03:00
Anton Lakotka
d75d42da9d
[MPP] Test that native common compilation uses native plugin artifacts
...
#KT-46122 In Progress
2021-04-16 16:25:04 +03:00
Dmitriy Novozhilov
c65553bb8a
[FIR] Get rid of source element type parameter from diagnostic factories
2021-04-16 14:08:11 +03:00
Dmitriy Novozhilov
4133f38c8c
[FIR] Transform annotations of property receiver type
2021-04-16 11:12:56 +03:00
Dmitriy Novozhilov
564de2790f
[FIR] Resolve array literals in independent context
2021-04-16 11:12:56 +03:00
Dmitriy Novozhilov
cc0f28b698
[FIR] Store type of function call and qualified access from error reference
2021-04-16 11:12:56 +03:00
Dmitriy Novozhilov
e869f8091a
[FIR] Properly handle callable references which were resolved with error
2021-04-16 11:12:55 +03:00
Dmitriy Novozhilov
450fb5e915
[Test] Add handler to detect implicit types which were left in resolved FIR
2021-04-16 10:52:58 +03:00
Ilya Gorbunov
ce7092a638
More efficient Char(Int) in common, JS, and JS-IR
2021-04-16 03:58:34 +03:00
Ilya Gorbunov
8041c3aa1d
Support Char.code in constant evaluator, KT-46036
...
But do not consider Char.code a pure integer constant.
2021-04-16 03:58:34 +03:00
Alexander Udalov
0a446230f7
Reorder LanguageFeature entries according to sinceVersion
2021-04-15 21:41:17 +02:00
Alexander Udalov
168d8b07a8
Minor, fix warnings on new stdlib API
...
In modules where allWarningsAsErrors is not yet enabled.
2021-04-15 18:39:06 +02:00
Dmitry Petrov
e89ab71bf8
JVM_IR KT-45934 don't generate declaration stubs for delegates
2021-04-15 17:59:19 +03:00
Dmitry Petrov
cc415f62b5
JVM_IR KT-46092 fix array spread operator in Kotlin->Java call
2021-04-15 17:11:21 +03:00