Natalia Selezneva
da71a35187
Update highlighting in UI thread
2018-11-13 08:47:19 +03:00
Natalia Selezneva
372daa0463
Do not attach script report if they didn't changed
2018-11-13 08:47:19 +03:00
Natalia Selezneva
ad43c2dc1c
Simplify logic in ScriptDependenciesLoader
2018-11-13 08:47:18 +03:00
Natalia Selezneva
18c9d968f9
Pass ResolveResult to ScriptNotificationPanel
2018-11-13 08:47:18 +03:00
Mikhail Zarechenskiy
ed2b9172da
Support unsigned integers in kotlinx-metadata-jvm
...
#KT-25371 Fixed
2018-11-13 01:29:39 +03:00
Andrey Uskov
dac4cb5d06
Fix source sets in all bunches except AS 33 in idea-android
2018-11-12 21:23:14 +03:00
Simon Ogorodnik
7f5f6ad76f
Update QuickDoc testData due to platform changes
2018-11-12 20:56:26 +03:00
Alexander Udalov
a2612c1eae
Fix generic signature for KSuspendFunction types in bytecode
...
#KT-27560 Fixed
2018-11-12 18:53:23 +01:00
Andrey Uskov
7b0c7ec400
Get rid of bunch 191 for build scripts (Continuation of "Replace bunch copies for some of build.gradle.kts files with a DSL")
2018-11-12 17:43:20 +03:00
Sergey Igushkin
308eafe0e1
(test data) Revert removal of coroutines opt-in from a test
...
This test checks the coroutines opt-in, so it should stay there.
Revert the change made in a64a76d5
2018-11-12 17:26:07 +03:00
Mikhail Zarechenskiy
79159947a5
Coerce last value of delegated expression for inline classes
...
Note that this commit doesn't fix case when some inline class over
`Any` is returned from a lambda, it'll be fixed further as part of the
#KT-27586
#KT-27737 Fixed
2018-11-12 14:21:24 +03:00
Mikhail Zarechenskiy
a97867ccb8
Add test for obsolete issue
...
#KT-23531 Obsolete
2018-11-12 14:12:59 +03:00
Nikolay Krasko
9dab32f67d
Re-implement getBodyBlockExpression() in stubbed elements
...
Avoid delegation to getBodyExpression() to monitor AST loading abuses.
2018-11-12 13:38:29 +03:00
Nikolay Krasko
2284028bbe
Add bodyBlockExpression() helper function to KtDeclarationWithBody
2018-11-12 13:38:28 +03:00
Nikolay Krasko
2b8a81c5a8
Don't force getting body psi if null is predicted by stubs but allow it for resolve
...
We can't avoid loading AST in general, because there're no stubs for
expression bodies.
2018-11-12 13:38:27 +03:00
Nikolay Krasko
e2269e13af
Move AstLoadingFilter to incompatible API and update usages
2018-11-12 13:38:26 +03:00
Nikolay Krasko
02d7e701d0
Allow getting initializer from psi during resolve as there're no stubs
2018-11-12 13:38:25 +03:00
Nikolay Krasko
d1e7229b7a
Allow getting operation node in annotation qualified expressions for now
2018-11-12 13:38:24 +03:00
Nikolay Krasko
ff9477554f
Do not check and load psi for modifier list with stub
2018-11-12 13:38:22 +03:00
Nikolay Krasko
04559800f1
Ignore reporting "literal prefixes and suffixes" for stubbed elements
2018-11-12 13:38:21 +03:00
Nikolay Krasko
710f3e8551
Make an excuse for contracts for loading psi for now
2018-11-12 13:38:20 +03:00
Nikolay Krasko
349f1e2e6a
Update to AS 3.3 14
2018-11-12 13:38:19 +03:00
Nikolay Krasko
11bcd84f57
Disable internal mode in AS 3.3 and AS 3.4 to avoid using core class loader
...
Core class loader doesn't include Kotlin plugin dependencies and Kotlin
plugin becomes unusable (for example Gradle sync always fail).
https://issuetracker.google.com/issues/119250571
2018-11-12 13:38:18 +03:00
Nikolay Krasko
01bea14f09
Allow to fetch name for mock virtual machine to fix tests in 183
2018-11-12 13:38:17 +03:00
Mikhail Zarechenskiy
021732f74a
[NI] Consider type non-nullable only if it has non-null supertype
...
Fixes #KT-12684 for NI
2018-11-12 12:42:03 +03:00
Mikhail Zarechenskiy
20ff74a726
Fix mapping for inline classes when JvmSuppressWildcards mode is using
...
#KT-28097 Fixed
2018-11-12 09:36:05 +03:00
Pavel V. Talanov
24f1db811a
Fix running JUnit test method in abstract class
...
Previously led to running all methods in an inheritor class
Untested because behaviour is rare and we don't have test covering JUnit run configuration
#KT-28080 Fixed
2018-11-09 15:51:36 +01:00
Pavel V. Talanov
aae023909d
Minor: refactor KotlinJUnitRunConfigurationProducer
...
Clarify 'getTestMethod' and 'onFirstRun' functions
2018-11-09 15:51:35 +01:00
Pavel V. Talanov
47935c19e6
Show line markers for JUnit test methods in abstract class
...
#KT-27977 Fixed
2018-11-09 15:51:34 +01:00
Ilya Chernikov
9c51f521a9
Add embeddable version of the jvm scripting host
...
#KT-27382 fixed
2018-11-09 15:57:09 +03:00
Toshiaki Kameyama
d64ca8a8f9
Insert paird brackets: enable on before colon #KT-9840 Fixed
2018-11-09 15:15:59 +03:00
Ilya Gorbunov
5f4e8bf4fb
Correct abstract mutable collections declarations in kotlin-stdlib-common
...
Add SinceKotlin(1.3) to the new and substantially changed common declarations
#KT-28091
2018-11-09 13:39:44 +03:00
Ilya Gorbunov
4f2ec3533a
Remove inline modifier from expect functions without lambda or reified types
...
This gives more flexibility when providing actuals for them.
2018-11-09 13:39:07 +03:00
Mikhael Bogdanov
3e26f17e9d
Update proguard config for AS 34
2018-11-09 10:30:00 +01:00
Denis Zharkov
fadd2c12c2
Update idea to 2018.2.6 RC (182.5107.16)
2018-11-09 11:59:25 +03:00
Toshiaki Kameyama
2683b25728
"Change type" quick fix: fix false negative in 'when' branch #KT-8820 Fixed
2018-11-09 11:09:02 +03:00
Dmitry Petrov
6d0a403ead
KT-26765: Support 'call' for constructors with inline class parameters
2018-11-09 10:21:46 +03:00
Ilya Gorbunov
23ead5e430
Remove extensive testing of the discontinued jre7/8 artifacts
2018-11-09 04:00:26 +03:00
Ilya Gorbunov
b026b9eb22
Remove +ReleaseCoroutines explicit feature enabling
...
It's enabled by default in Kotlin 1.3
2018-11-09 04:00:26 +03:00
Ilya Gorbunov
a64a76d5fc
Remove experimental coroutines opt-in from build scripts
...
It has no effect in Kotlin 1.3
Only enable coroutines if '-ReleaseCoroutines' is used
2018-11-09 04:00:26 +03:00
Ilya Gorbunov
ea0030f324
Actualize Deprecated annotation and DeprecationLevel enum docs
...
...to clear some confusion from KT-25643.
Describe level property usage scenario in detail.
2018-11-08 19:39:41 +03:00
Roman Artemev
8f2117685f
[JS BE] Support contracts in JS Fix KT-27946
2018-11-08 17:35:06 +03:00
Roman Artemev
b010d9eef8
Add Contract tests for JS
2018-11-08 17:35:06 +03:00
Mikhail Glukhikh
caad0d5a74
ExposedVisibilityChecker refactoring: make trace BindingTrace
2018-11-08 17:16:06 +03:00
Mikhail Glukhikh
d464b441c8
ExposedVisibilityChecker refactoring: extract 'reportExposure'
2018-11-08 17:16:06 +03:00
Mikhail Glukhikh
b3857e85e0
Report exposed type for properties in class primary constructor
...
Before this commit, we compared property visibility with constructor
visibility only, which is incorrect. Now we compare property visibility
also with class visibility
#KT-19613 Fixed
2018-11-08 17:16:06 +03:00
Mikhael Bogdanov
f160eabaf6
Switch snapshot to exact IDEA 183 dependency
2018-11-08 13:47:17 +01:00
Mikhael Bogdanov
e8db36e2f1
Update dependencies for AS34
2018-11-08 13:47:16 +01:00
Simon Ogorodnik
cf9b2e6377
Fix potential CCE in LightCodeInsight tests in non-JVM
2018-11-08 15:31:30 +03:00
Simon Ogorodnik
f40cc2eb3f
Fix CCE in JSBasicCompletionTest
2018-11-08 15:31:29 +03:00