Yan Zhulanow
0afd73b95c
Debugger: Pass files with inline functions to backend (KT-36404)
2020-05-27 02:38:42 +09:00
Yan Zhulanow
85a5e5241f
Debugger: Fix function breakpoints for libraries (KT-36403)
2020-05-27 02:38:42 +09:00
Yan Zhulanow
18070303d5
Update test data (KT-32511)
2020-05-27 02:38:42 +09:00
Yan Zhulanow
797058f781
Update test data (KT-27651)
2020-05-27 02:38:42 +09:00
Toshiaki Kameyama
f6a13df388
Add quick fix for AMBIGUOUS_SUPER
...
#KT-5271 Fixed
2020-05-27 02:38:42 +09:00
Toshiaki Kameyama
7c0af78b08
UnnecessaryVariableInspection: fix false positive in lambda
...
#KT-32565 Fixed
2020-05-27 02:38:42 +09:00
Toshiaki Kameyama
64f6ed586b
"Convert to primary constructor" inspection: do not report when property has setter
...
#KT-22142 Fixed
2020-05-27 02:38:42 +09:00
Yan Zhulanow
08f31758b8
Minor: Extract name comparison
2020-05-27 02:38:41 +09:00
Toshiaki Kameyama
19d1532dc7
AddFunctionParametersFix: use argument name as parameter name if argument is referenced variable
...
#KT-14021 Fixed
2020-05-27 02:38:41 +09:00
Toshiaki Kameyama
8b8059acdd
Add quick fix for MANY_IMPL_MEMBER_NOT_IMPLEMENTED
...
#KT-17121 Fixed
2020-05-27 02:38:41 +09:00
Toshiaki Kameyama
21d6d50241
Create class quick fix: suggest on supertype entry
...
#KT-32511 Fixed
2020-05-27 02:38:41 +09:00
Toshiaki Kameyama
4973d3c359
"Create enum constant" quick fix: handle trailing comman correctly
...
#KT-36461 Fixed
#KT-36462 Fixed
2020-05-27 02:38:41 +09:00
Yan Zhulanow
0bd2643788
Fix EA-209582: Add a missing runReadAction()
2020-05-27 02:38:41 +09:00
Yan Zhulanow
075870fee9
Fix EA-207101: Abort changing property declaration from Java accessor
...
This is not a proper fix. "Change signature" in Kotlin should support
changing property name/type through accessors. However, it's not
easy to achieve without a huge refactoring.
2020-05-27 02:38:41 +09:00
Yan Zhulanow
fc433dece8
Fix EA-221456, check for error types before method signature calculation
2020-05-27 02:38:41 +09:00
Yan Zhulanow
c8bad15ba9
Fix EA-210182, check for context validity
2020-05-27 02:38:41 +09:00
Yan Zhulanow
b756e18962
Never treat @JsExport-annotated declarations as not-used instead of @JsName
2020-05-27 02:38:41 +09:00
Yan Zhulanow
ef698a5747
Fix "PSI/index mismatch" in case of @ParameterName on non-functional types (KT-34524)
2020-05-27 02:38:41 +09:00
Yan Zhulanow
d86b54a2f1
Minor: Fix formatting
2020-05-27 02:38:40 +09:00
Toshiaki Kameyama
4638a97bbc
"Call on collection type may be reduced": fix false positive with mapNotNull, generic lambda block and new inference
...
#KT-32801 Fixed
2020-05-27 02:38:40 +09:00
Toshiaki Kameyama
6ee4b5e393
Condition of 'if' expression is constant: don't report when condition has named reference
...
#KT-27651 Fixed
2020-05-27 02:38:40 +09:00
Yan Zhulanow
bfb5efd490
Minor: Get rid of the hard-coded modifier value
2020-05-27 02:38:40 +09:00
Toshiaki Kameyama
581f83421a
Unnecessary parentheses in function call with lambda: don't report for function named 'suspend'
...
#KT-22878 Fixed
2020-05-27 02:38:40 +09:00
Toshiaki Kameyama
777995a3a0
Add braces: don't insert extra line break and move the following comment
...
#KT-36194 Fixed
2020-05-27 02:38:40 +09:00
Toshiaki Kameyama
905d0c1016
Unused symbol: do not report for @JsName annotated declarations
...
#KT-17368 Fixed
2020-05-27 02:38:40 +09:00
Toshiaki Kameyama
7abd0831a1
Unused unary operator: highlight whole expression in yellow
...
#KT-37156 Fixed
2020-05-27 02:38:40 +09:00
Toshiaki Kameyama
43b106fc72
Can be replaced with binary operator: do not report if it leads to an error/warning after conversion
...
#KT-25050 Fixed
2020-05-27 02:38:40 +09:00
Toshiaki Kameyama
81d01a8f8e
"To ordinary string literal": don't add unnecessary escapes to characters in template expression
...
#KT-36406 Fixed
2020-05-27 02:38:40 +09:00
Toshiaki Kameyama
bf3e739edf
Replace with string templates: add curly braces if needed
...
#KT-37173 Fixed
2020-05-27 02:38:39 +09:00
Toshiaki Kameyama
8d3e41ae60
ReplaceToWithInfixFormInspection: don't report when call expression has type typeArguments
...
#KT-36508 Fixed
2020-05-27 02:38:39 +09:00
Toshiaki Kameyama
f7a69d4aa7
Convert lambda to reference: suggest on lambda argument for suspend function parameter
...
#KT-34378 Fixed
2020-05-27 02:38:39 +09:00
Toshiaki Kameyama
9b6b25f069
Convert lambda to reference: suggest on lambda argument for extension function parameter
...
#KT-22014 Fixed
#KT-22015 Fixed
2020-05-27 02:38:39 +09:00
Toshiaki Kameyama
b8ae13b3d9
RedundantLetInspection: remove 'let' safe call correctly
...
#KT-37148 Fixed
2020-05-27 02:38:39 +09:00
Toshiaki Kameyama
a2f55e8b7c
Remove redundant calls of the conversion method: report for unsigned types
...
#KT-30263 Fixed
2020-05-27 02:38:39 +09:00
Yan Zhulanow
38b6b73745
Add additional diagnostic for EA-225967
2020-05-27 02:38:39 +09:00
Yan Zhulanow
36f3ff7d20
Add stack trace logging for EA-225969
2020-05-27 02:38:39 +09:00
Yan Zhulanow
c1b57e8681
Pill: Remove "Refresh Pill model" run configuration
...
Just invoke ./gradlew pill task, there is no need in the extra
run configuration.
2020-05-27 02:38:39 +09:00
Dmitry Petrov
f81be526bc
Support deserialized IR in IfNullExpressionsFusionLowering
...
Deserializer generates simple branches instead of IrElseBranches.
2020-05-26 20:29:12 +03:00
Svyatoslav Scherbina
c9f721848a
Fix Throws declaration in Native diagnostics tests
...
Align annotation target with real declaration in Native stdlib
2020-05-26 20:24:35 +03:00
Svyatoslav Scherbina
fa152593ef
Fix false-positive @Throws error diagnostics in Native
...
Don't report
THROWS_LIST_EMPTY and MISSING_EXCEPTION_IN_THROWS_ON_SUSPEND
caused by unresolved arguments.
2020-05-26 20:24:34 +03:00
Svyatoslav Scherbina
242d0aa26e
Add Native diagnostics for @Throws suspend fun
...
`@Throws suspend fun` must have CancellationException accepted.
Also add more tests.
2020-05-26 20:24:32 +03:00
Svyatoslav Scherbina
3e8b0055ab
Decouple Call.hasUnresolvedArguments from ResolutionContext
2020-05-26 20:24:30 +03:00
Sergey Rostov
eb338e2e91
Scripting IDE cache: unblocking concurrent update
...
#KT-38875 Fixed
(cherry picked from commit 63e355d979 )
2020-05-26 19:22:15 +03:00
Sergey Rostov
e3ed8870dd
scripting, sdk cache: same key for locating sdk
2020-05-26 19:22:09 +03:00
Sergey Rostov
8d00ec1933
scripting: fixes after rebase
2020-05-26 19:22:08 +03:00
Sergey Rostov
74b189fa54
idea.core.script.ucache: remove cyrilic "c" in package name
2020-05-26 19:22:08 +03:00
Natalia Selezneva
5212054af6
Fix sdk duplication in ProjectSdkTable in tests
2020-05-26 19:22:08 +03:00
Sergey Rostov
72aba2fce2
IDE scripting: add default sdk only when used
2020-05-26 19:22:07 +03:00
Sergey Rostov
53983a99e5
Fix order of ExternalSystemListeners
2020-05-26 19:22:07 +03:00
Sergey Rostov
06dbbe2452
KotlinDslModels: project can be null in ExternalSystemTaskNotificationListener.onStart
2020-05-26 19:22:07 +03:00