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
Sergey Rostov
44f6d490b6
scripting ucache: update synchronously in unit test mode
2020-05-26 19:22:06 +03:00
Sergey Rostov
e613bc406e
201: proper implementation for AsyncFileChangeListenerHelper.kt
...
updateFile is called before changes in vfs, so the timestamp is old there.
The proper implementation is to collect changed files in list and get timestamp in apply.
2020-05-26 19:22:06 +03:00
Sergey Rostov
8f8ee1ea83
Scripting unified cache: update sdks synchronously on changes
2020-05-26 19:22:06 +03:00
Sergey Rostov
037ea224a4
GradleBuildRoot: don't store references to virtual files
2020-05-26 19:22:06 +03:00
Sergey Rostov
a97e9f641a
remove stale GradleScriptInputsWatcher references
2020-05-26 19:22:06 +03:00
Sergey Rostov
494a4460c1
minor: ScriptingSupport.Provider -> ScriptingSupport, KDoc
2020-05-26 19:22:05 +03:00
Sergey Rostov
40c852e818
GradleScriptOutOfProjectTest: roots are already registered as legacy
2020-05-26 19:22:05 +03:00
Sergey Rostov
cf4ad1908b
Fix lastIndexOfOrNull
2020-05-26 19:22:05 +03:00
Sergey Rostov
c604ef1255
Scripting, minor: updateScriptDefinitions -> updateScriptDefinitionReferences
2020-05-26 19:22:05 +03:00
Sergey Rostov
cfe6fee1ca
ScriptClassRootsCache, sdk: use toSystemIndependentName
2020-05-26 19:22:05 +03:00
Sergey Rostov
eda95af999
gradle.kts, minor: remove unused code
2020-05-26 19:22:04 +03:00
Sergey Rostov
cb3e08b345
GradleScriptListenerTest: add gradle-wrapper.properties to specify gradle version explicitly
2020-05-26 19:22:04 +03:00
Sergey Rostov
ec9608b00d
ScriptClassRootsUpdater, updateSynchronously: cancel before waiting for lock
2020-05-26 19:22:04 +03:00
Sergey Rostov
59c35fe35c
ScriptClassRootsUpdater: fix clearing scheduledUpdate and check cancelled in sync
2020-05-26 19:22:04 +03:00
Sergey Rostov
2932c67db7
gradle.kts: remove LastModifiedFiles fs data when removing gradle root
2020-05-26 19:22:04 +03:00
Sergey Rostov
6b53a98399
gradle.kts, minor: move isInAffectedGradleProjectFiles inside GradleBuildRootsManager
2020-05-26 19:22:03 +03:00
Sergey Rostov
b233a2a83a
GradleScriptListenerTest: link gradle project
2020-05-26 19:22:03 +03:00
Sergey Rostov
13abfda00b
GradleBuildRootsManager: fix onProjectsLinked
2020-05-26 19:22:03 +03:00
Sergey Rostov
5cd9e99caa
GradleLegacyScriptListener: call from GradleScriptListener
...
GradleScriptListener is called from VFS listener
2020-05-26 19:22:03 +03:00
Sergey Rostov
bac68816d2
gradle.kts: use toSystemIndependentName for paths coming from Gradle
2020-05-26 19:22:02 +03:00
Sergey Rostov
381d505430
ScriptClassRootsUpdater: run synchronously in unit test mode
2020-05-26 19:22:02 +03:00