Toshiaki Kameyama
8fc5fefc7f
Call chain --> Sequence: don't report if first call is 'groupingBy'
...
#KT-27104 Fixed
2018-10-09 11:26:50 +03:00
Toshiaki Kameyama
b0c3461eab
Add quickfix for ASSIGN_OPERATOR_AMBIGUITY on mutable collection '+=', '-='
...
KT-26236 Fixed
2018-10-05 15:58:39 +03:00
Toshiaki Kameyama
725cb88f41
Add quick-fix to "Unlabeled return inside lambda" inspection #KT-27007 Fixed
2018-10-05 10:01:31 +02:00
Toshiaki Kameyama
23734bae3e
Add quickfix for DECLARATION_CANT_BE_INLINED #KT-9983 Fixed
2018-10-04 13:11:36 +02:00
Toshiaki Kameyama
c44d3a8d68
Show lambda parameter info #KT-13118 Fixed
2018-10-03 19:08:56 +03:00
kenji tomita
6532916dd2
Change necessary labels in "Call on collection type may be reduced"
...
#KT-24492 Fixed
2018-10-03 08:00:40 +02:00
Toshiaki Kameyama
5e7d974767
"Make open": Fix false positive for data class inheritance #KT-27354 Fixed
2018-10-03 08:53:03 +03:00
Mikhail Zarechenskiy
e74469fdfc
Use mutable lists before deserialization of project structure
...
The problem is that we perform xml deserialization using intellij
mechanism which tries to clear target object if it isn't unmodifiable
(see CollectionBinding.isMutableCollection). This check fails for
kotlin.EmptyList (emptyList()) which then cause exception
#KT-27321 Fixed
2018-10-01 19:43:03 +03:00
Nikolay Krasko
b09ec3cbb3
Shortcut quick fix for migrating all coroutines in the project (KT-27164)
...
#KT-27164 Fixed
2018-09-29 16:27:45 +03:00
Toshiaki Kameyama
d89947bd5a
"Convert put to assignment": don't report on 'super' #KT-27146 Fixed
2018-09-28 19:43:05 +03:00
Mikhail Zarechenskiy
d0ed76ebc8
183: Fix exception about unmapped lambda argument from IDE inspection
...
Intention: obtain lambda argument for some parent call,
then get that call (for the lambda argument) and map
the argument to the parameter.
Before the fix, we were getting call for inner element,
not for the lambda argument and as a result, there were exceptions.
#KT-26873 Fixed
2018-09-26 18:03:34 +03:00
Nikolay Krasko
1be491504a
Fix formatting for when with subjects (KT-27027)
...
#KT-27027 Fixed
2018-09-26 13:35:36 +03:00
Nikolay Krasko
0833f23d02
Make ReplaceWith work for objects (KT-16211, KT-14929)
...
#KT-16211 Fixed
2018-09-26 13:35:35 +03:00
Toshiaki Kameyama
c1013cc198
"Convert to secondary constructor": Fix false positive with delegation #KT-27061 Fixed
2018-09-26 09:31:12 +03:00
Nikolay Krasko
1ff12d00e4
Allow return value hint for lambda expressions (KT-26689)
...
#KT-26689 Fixed
2018-09-25 15:52:22 +03:00
Toshiaki Kameyama
7d89205618
Add "Remove inline modifier" quick fix for NOTHING_TO_INLINE #KT-5187 Fixed
2018-09-25 11:48:20 +03:00
Toshiaki Kameyama
65f23f3c4e
Fix false positive in class literal #KT-16338 Fixed
2018-09-25 11:27:27 +03:00
Toshiaki Kameyama
6cd13341ee
Add inspection for unlabeled return inside lambda #KT-26511 Fixed
2018-09-25 11:24:56 +03:00
Toshiaki Kameyama
3e4d8eba76
Add braces: Remove new line between '}' and 'else' #KT-26839 Fixed
2018-09-25 11:08:49 +03:00
Toshiaki Kameyama
affa881421
"Redundant SAM constructor": Fix highlighting range #KT-27034 Fixed
2018-09-25 11:06:45 +03:00
Nikolay Krasko
bbd15db308
Remove old buildIterator import (KT-26679)
2018-09-24 15:57:06 +03:00
Natalia Selezneva
a078526c4d
Scratch tests: check that highlighting is enabled for scratch
2018-09-21 22:58:14 +03:00
Natalia Selezneva
8f8c431524
Fix Optimize import for scripts not under source roots
...
KT-17231 Fixed
KT-21981 Fixed
2018-09-21 22:58:14 +03:00
Mikhail Glukhikh
625ff00f62
Fix testEnableCoroutinesFacet from update configuration group
2018-09-20 16:19:10 +03:00
Mikhail Glukhikh
6850d7be0c
Enable feature: add test for JPS case
2018-09-20 16:19:03 +03:00
Toshiaki Kameyama
3f2c73b4a9
if-then to safe access: fix for qualified 'this' condition #KT-26662 Fixed
2018-09-19 16:16:15 +03:00
Toshiaki Kameyama
b5f73ebd0f
if-then to safe access: report even if condition in parentheses #KT-26662 Fixed
2018-09-19 16:16:15 +03:00
Nikolay Krasko
64d2cdf0c2
Migrate for moved and renamed buildSequence/buildIterator (KT-26679)
...
#KT-26679 Fixed
2018-09-19 12:38:35 +03:00
Mikhail Glukhikh
e24f68c357
Remove erroneous suspend delegate tests (not supported in 1.3)
2018-09-18 12:00:12 +03:00
Mikhail Zarechenskiy
ea69d26bac
Don't throw exception on error types in light classes mode
...
#KT-26829 Fixed
#KT-26827 Fixed
2018-09-17 16:21:07 +03:00
Mikhail Zarechenskiy
03ea8603ce
Do not try building light classes for inline classes in dumb mode
...
Generation of inline classes is quite complicated: we mangle methods,
add stubs and synthesized methods. So, for simplicity, to avoid
logic duplication in dummy resolve and in the backend, currently we
will use only the latter for light classes generation
#KT-26843 Fixed
2018-09-17 16:21:04 +03:00
Denis Zharkov
956f8ad5e9
Support deserialized contracts in common code
...
#KT-26687 Fixed
2018-09-17 12:48:42 +03:00
Nikolay Krasko
782aa94513
Bad indentation after annotation in incomplete declaration (KT-22322)
...
Same behavior is for any modifier in incomplete declaration.
#KT-22322 Fixed
2018-09-16 15:52:34 +03:00
Dmitry Petrov
88fb76bffc
Fix annotations loading for inline class constructors
2018-09-14 16:09:41 +03:00
NikitaKatkov
d2536f207c
183: CoroutineNonBlockingContextChecker for warning on blocking calls in coroutines (KT-15525)
2018-09-13 19:36:51 +03:00
Mikhail Glukhikh
76d1d6ff12
Allow to move suspend lambda out of parentheses
...
#KT-26674 Fixed
#KT-26676 Fixed
2018-09-13 16:38:29 +03:00
Ilya Gorbunov
3cc606577c
Add annotations-13.0 in classpath of those tests where the annotations from stdlib were used
2018-09-13 02:41:19 +03:00
Denis Zharkov
e213dc261e
Fix bunch files for test RunConfigurationTest
2018-09-12 19:48:03 +03:00
Dmitry Petrov
792c5f8b3f
Generate metadata and annotations for hidden constructor
...
Reflection expects to see a callable method for a hidden constructor,
thus, it should be a synthetic accessor.
JVM method signature in metadata should point to the synthetic accessor.
Annotations for hidden constructor should be written on the synthetic
accessor.
2018-09-12 15:33:11 +03:00
Denis Zharkov
aa74511378
Fix UnusedSymbolInspection for parameterless and suspend main functions
...
#KT-26574 Fixed
2018-09-12 09:49:25 +03:00
Denis Zharkov
1cc0c12f87
Add language feature for extended main convention
...
- suspend
- parameterless
#KT-17679 Fixed
#KT-26574 Fixed
2018-09-12 09:49:25 +03:00
Denis Zharkov
38be1f6947
Minor. Parametrize MainFunctionDetector with LanguageVersionSettings
2018-09-12 09:49:25 +03:00
Denis Zharkov
2c920b732c
Support main entry-point without arguments in frontend
...
#KT-26574 In Progress
2018-09-12 09:48:13 +03:00
Pavel V. Talanov
3da9d79fc2
KtFile.getClasses() returns empty array for non-jvm files
2018-09-12 04:13:32 +02:00
Ilya Gorbunov
c4e794b21f
Add nullability annotations jar to debugger test application compile classpath
2018-09-12 00:58:55 +03:00
Alexander Podkhalyuzin
8e9945bc9e
Fixed deprecated IDEA API
...
#KT-24907 Fixed
2018-09-10 13:28:11 +03:00
Toshiaki Kameyama
1d2e18e263
SimplifyCallChainFix: Keep comments in place #KT-22552 Fixed
2018-09-07 17:26:15 +03:00
Mikhail Glukhikh
485e098ced
Handle implicit receivers more accurately in if-then to safe access
...
#KT-26599 Fixed
2018-09-07 17:24:19 +03:00
Mikhail Glukhikh
dead2516c2
Redundant override inspection: don't report for ambiguous derivation
...
#KT-24405 Fixed
#KT-25883 Fixed
2018-09-07 16:32:11 +03:00
Toshiaki Kameyama
de6fdc5733
Move to constructor: choose property use-site target more precisely
...
#KT-26015 Fixed
2018-09-07 14:56:17 +03:00