Mikhael Bogdanov
039e036e22
Support IrExpressionBody in codegen
2017-12-20 10:48:38 +01:00
Mikhael Bogdanov
4017195ff1
Always include stdlib in IrTests
2017-12-20 10:48:38 +01:00
Mikhael Bogdanov
e16bdd4287
Switch JvmBackendContext to CommonBackendContext
...
(cherry picked from commit 5d4736c)
2017-12-20 10:48:37 +01:00
Nikolay Krasko
f963b8bd42
Fix QuickFixTestGenerated$DeprecatedSymbolUsage$TypeAliases
...
Revert asking super isAvailable in DeprecatedSymbolUsageInWholeProjectFix
2017-12-20 12:27:36 +03:00
Nikolay Krasko
b80403cf13
Consistency for replace string quick fix message
...
https://youtrack.jetbrains.com/issue/KT-21746#comment=27-2634335
2017-12-20 12:27:36 +03:00
Vyacheslav Gerasimov
95cc3fe1b7
Fix availability of AddFunctionParametersFix
...
fixes RenameTestGenerated.testAutomaticVariableRenamerWithQuotation_AutomaticVariableRenamerWithQuotation
2017-12-19 21:23:38 +03:00
Nicolay Mitropolsky
bb4d6d1059
LightClassEqualsTest fix by creating lightclasses with createNoCache
2017-12-19 20:03:59 +03:00
Nicolay Mitropolsky
4c5cf0f7e7
*kapt3-idea* added to test-dependencies in *uast-kotlin*
2017-12-19 18:22:14 +03:00
Mikhael Bogdanov
ef433d163e
Apply common header directives to second file in AbstractCompileKotlinAgainstKotlinTest
2017-12-19 16:11:39 +01:00
Mikhael Bogdanov
819a3a95b3
Add support for contract feature in inliner
2017-12-19 16:11:39 +01:00
Pavel V. Talanov
4890979476
ScriptDefinitionsManager: ignore reloadDefinitionsBy calls
...
If definitions are not loaded yet
2017-12-19 17:15:39 +03:00
Pavel V. Talanov
106f571814
scriptTemplatesFromCompilerSettings: fix ScriptDefinitionsManager access
...
#KT-21545 Fixed
2017-12-19 17:15:36 +03:00
Mikhail Glukhikh
4bff0fb338
Unused symbol: revert entry point check optimization to fix regression
...
E.g. JUnit 3 tests was highlighted as unused after it
2017-12-19 15:59:30 +03:00
Mikhail Zarechenskiy
9eca8cd451
[NI] Fix hierarchy of resolution atoms for lambda with non-local return
2017-12-19 15:11:04 +03:00
Mikhail Zarechenskiy
c6d8b39b4f
[NI] Prioritize type variables related to output type for fixation
2017-12-19 15:11:04 +03:00
Mikhail Zarechenskiy
d818af5287
[NI] Don't forget to analyze whole block for last postponed expression
2017-12-19 15:11:03 +03:00
Anton Bannykh
8ed8e05a68
JS: honor ignoreTestFailures flag and report failures to TC (KT-20735
...
fixed)
2017-12-19 14:38:15 +03:00
Alexey Sedunov
0ab924a298
Change Signature: Fix overrider search for suspend functions
...
#KT-21288 Fixed
2017-12-19 13:47:02 +03:00
Alexey Sedunov
b5bd5942e7
Kotlin Facet: Do not auto-advance version in imported projects
...
#KT-21879 Fixed
2017-12-19 13:47:02 +03:00
Alexey Sedunov
88540360b4
Misc: Fix NPE on external project import
2017-12-19 13:47:02 +03:00
Nicolay Mitropolsky
4a6cc3913d
Fix for "safe delete" after caching added to light elements
2017-12-19 13:32:23 +03:00
Alexey Tsvetkov
18fae9e16d
Allow override removing temporary module files after build
...
For debug purposes
2017-12-18 21:19:15 +03:00
Alexey Tsvetkov
5bffef6de7
Allow customizing directory for temporary module files
2017-12-18 21:19:15 +03:00
Alexey Tsvetkov
37b00b91fc
Avoid generating too long path for temp module file
...
#KT-21841 fixed
2017-12-18 21:19:15 +03:00
Toshiaki Kameyama
a4fbe95112
KT-21770 Pasting into an interpolated string shouldn't escape $
2017-12-18 18:25:43 +01:00
Toshiaki Kameyama
eb25ac44e6
KT-17928 Support code folding for primary constructors
2017-12-18 18:14:27 +01:00
Dmitry Jemerov
18cb9593c8
Add 'reformat' flag to DeprecatedSymbolUsageFixBase
2017-12-18 18:10:36 +01:00
Dmitry Jemerov
48021ce5a1
Disallow formatting in KotlinQuickFix.isAvailable()
2017-12-18 18:10:34 +01:00
Dmitry Jemerov
64f01e53af
Check that add() method is in fact MutableCollection.add()
...
#KT-18881 Fixed
2017-12-18 18:10:33 +01:00
Dmitry Jemerov
94b8614fb8
Don't suggest mapTo() transformation over range literals
...
#KT-18816 Fixed
2017-12-18 18:10:32 +01:00
Dmitry Jemerov
09d27ca61c
Don't generate .forEach { return } when converting loop to call chain
...
#KT-17161 Fixed
2017-12-18 18:10:31 +01:00
Dmitry Jemerov
b775b901cc
Fix incorrect replacement with 'any' instead of 'all'
...
#KT-17730 Fixed
2017-12-18 18:10:24 +01:00
Dmitry Jemerov
ba4cf4dcc6
Delete unused class
2017-12-18 18:10:21 +01:00
Dmitry Jemerov
d0a8dd7dc8
Update EAP channel names in plugin update check dialog
2017-12-18 18:10:14 +01:00
Ilya Chernikov
3e2003e60d
Do not log daemon connection errors as exceptions - may reduce number of ...
...
redundant report if the problem is corrected on retry
(cherry picked from commit 260fe36)
2017-12-18 17:08:15 +01:00
Ilya Chernikov
f83dc0a067
Make daemon session retrieval more robust to the daemon failures
2017-12-18 16:49:53 +01:00
Ilya Chernikov
1101bb7fb4
Treat "daemon is dying" state as a case for fallback compilation strategy in jps
2017-12-18 16:49:52 +01:00
Ilya Chernikov
6e34f57acf
Retry socket connection on connection errors, number of retries and...
...
retry interval are configurable via the system props
2017-12-18 16:49:51 +01:00
Ilya Chernikov
1cd14f00eb
Ignore connection error on the (optional) daemon.clearJarCache call
...
May fix issues with NoSuchObjectException and UnmarshalException - the
stacktraces often point to this place
2017-12-18 16:49:50 +01:00
Mikhail Glukhikh
0d64ab4846
Fix corner cases (override/script/null/etc.) in "might be const"
...
Related to KT-20644
2017-12-18 17:23:41 +03:00
Alexey Tsvetkov
3f082346ae
Do not set api version to language version when language version is null
...
#KT-21852 fixed
#KT-21574 fixed
2017-12-18 16:22:07 +03:00
Dmitry Petrov
17b4d4a973
Differentiate accessors by FieldAccessorKind
...
Otherwise accessors for backing fields (as in '{ field }') clash with
accessors for properties (as in '{ prop }').
#KT-21258 Fixed Target versions 1.2.30
2017-12-18 16:15:52 +03:00
Ilya Gorbunov
d8cd926a8c
Do not leak primitiveness of an array wrapped with asList
...
A primitive array wrapped in a List with asList had incorrect implementation of toArray method:
while it declares that an object array is returned, it returned a primitive array.
Therefore the methods such as `Collection.toTypedArray()` and its dependents
`ArrayList(collection)`, `Collection + Iterable` might behave incorrectly
having relied on `toTypedArray` returned an object array.
#KT-21828 Fixed
2017-12-18 15:50:15 +03:00
Sergey Igushkin
c55f08a166
Optimize embeddable JARs
...
Exclude the compiler dummy JAR from the resulting shadow JAR
2017-12-18 15:46:23 +03:00
Alexander Udalov
3a807cb39b
Support Void.TYPE as underlying Class object for KClass
...
#KT-20875 Fixed
2017-12-18 11:57:05 +01:00
Anton Bannykh
46a631a654
Ignore license in the downloaded node_modules and nodejs
2017-12-18 13:46:25 +03:00
Yan Zhulanow
1692d1a087
Kapt: Add missing 'flush()', otherwise the serialized data can be empty
2017-12-18 18:57:38 +09:00
Nikolay Krasko
f67eb90dfb
Don't show file root if it's same as the only declaration (KT-21200)
...
#KT-21200 Fixed
2017-12-18 11:50:50 +03:00
Nikolay Krasko
a3028beca9
Fix smart step into to Kotlin SAM adapter (KT-21538)
...
#KT-21538 Fixed
2017-12-18 11:50:49 +03:00
Denis Zharkov
adfee2086a
Update bootstrap to 1.2.20-dev-814
2017-12-16 18:56:26 +03:00