Pavel Punegov
eb6580acdd
Return native ignore back.
...
K/N doesn't initialize companion objects if no methods were called from them
2018-10-15 19:25:02 +03:00
Pavel Punegov
d9a8a00069
Make tests that use jvm-annotations be targeted to jvm backend
2018-10-15 19:25:02 +03:00
Pavel V. Talanov
8be3e902a8
ResolutionFacadeWithDebugInfo: do not wrap index not ready exception
...
Fixes problems where `catch (IndexNotReadyException)` blocks
in IDEA code would not work
2018-10-15 15:10:50 +02:00
Pavel Punegov
aab28e6cc7
Revert "Make coroutines test JVM-only"
...
This reverts commit 17b7bbce
2018-10-15 13:52:16 +03:00
Natalia Selezneva
648e8acbde
Update testdata after the fix of KT-27095
...
(replace http with https configuring gradle project)
2018-10-15 12:28:43 +03:00
Dmitry Petrov
b6be72bb11
Add more tests for inline classes
...
#KT-27416
#KT-27513
2018-10-15 12:21:14 +03:00
Dmitry Petrov
0fd68d29f4
Support @JvmStatic in inline class companion object
...
#KT-27107
2018-10-15 12:21:14 +03:00
Dmitry Petrov
5304754e88
Generate specialized 'toString' for inline classes when possible
...
#KT-25613
2018-10-15 12:21:14 +03:00
Dmitry Petrov
f68ce4b35b
Support default parameter values for inline class constructors and funs
...
#KT-26908
#KT-26554
Move default parameter value tests to separate directory
2018-10-15 12:21:14 +03:00
Dmitry Petrov
8ce1d09f8a
Fix inline class coercion in default parameter values
...
#KT-27358
2018-10-15 12:21:14 +03:00
Natalia Selezneva
c2315f065a
Add test for script definitions settings
2018-10-15 11:32:49 +03:00
Natalia Selezneva
71e72ec6c2
Add button to open script settings from Multiple script definition notification
2018-10-15 11:32:49 +03:00
Natalia Selezneva
6596a6ba75
Allow to switch off script definitions
...
^KT-24465 Fixed
2018-10-15 11:32:48 +03:00
Natalia Selezneva
7826f44180
Save ScriptDefinitions order into kotlinScripting.xml
...
^KT-24465 In Progress
2018-10-15 11:32:48 +03:00
Natalia Selezneva
77e687df92
Change base class for ErrorGradleScriptDefinition (migrate to new API)
2018-10-15 11:32:48 +03:00
Natalia Selezneva
3f20453ccf
Do not create multiple ErrorGradleScriptDefinitions
2018-10-15 11:32:48 +03:00
Natalia Selezneva
9ab4d727e9
Provide UI for changing the order of script definitions applicability
...
^KT-24465 In Progress
2018-10-15 11:32:47 +03:00
Natalia Selezneva
2df8adc50b
Move option for auto-reloading script dependencies to 'Kotlin Scripting' page
2018-10-15 11:32:47 +03:00
Natalia Selezneva
54f3982709
Add 'Kotlin Scripting' configuration tab
...
^KT-24465 In Progress
2018-10-15 11:32:47 +03:00
Natalia Selezneva
02c1ae62c3
Show notification if there are more than one script definition applicable for one script file (KT-24466)
...
^KT-24466 Fixed
2018-10-15 11:32:47 +03:00
Dmitry Savvinov
99e1d4ab45
Check for the presence of dispatch receiver too in isEqualsDescriptor()
...
Otherwise, top-level function with the name 'equals' and suitable
signature will be (erroneously) treated as true 'equals' invocation,
leading to further exception (see EA-126602)
2018-10-15 10:54:39 +03:00
Natalia Selezneva
28e43b0487
Indexes should be updated if there are new dependencies for script file
...
KT-26271 Fixed
2018-10-15 09:43:49 +03:00
Natalia Selezneva
c4aab8340b
Do not store script definition in psiFile
...
This may cause problems when definitions are reordered or switched off
KT-27375 Fixed
2018-10-15 09:43:49 +03:00
Svyatoslav Kuzmich
02277d0293
[JS IR BE] ExpectDeclarationsRemoving lowering
...
* Copy lowering from konan to common
* Keep actual default parameters when both actual and expect default parameters are present
* Run lowering before inline in JS IR BE to fix
box/multiplatform/defaultArguments/inlineFunctionWithDefaultLambda.kt
2018-10-15 00:03:46 +03:00
Svyatoslav Kuzmich
4c38d55f21
[JS IR BE] Unmute tests
2018-10-15 00:03:45 +03:00
Svyatoslav Kuzmich
5a057f8ca6
[JS IR BE] Support 'is Number' and 'is Comparable<>'
2018-10-14 23:53:03 +03:00
Svyatoslav Kuzmich
783f27c554
[JS IR BE] Support Number.to(Byte|Short|Int|Float|Double|Long)
2018-10-14 23:53:03 +03:00
Svyatoslav Kuzmich
bad9534abd
[JS IR BE] Support integer operation overflow
2018-10-14 23:53:02 +03:00
Zalim Bashorov
8013a56286
[JS IR BE] process empty loops correctly in BlockDecomposerLowering
2018-10-13 01:51:59 +03:00
Zalim Bashorov
6d592ae66b
Unmute tests
2018-10-13 01:51:59 +03:00
Zalim Bashorov
dfc3bda3b4
Minor: remove forgotten "TODO"
2018-10-13 01:51:58 +03:00
Nikolay Krasko
ea9d4037e6
Minor: cleanup KotlinLightCodeInsightFixtureTestCase.kt
2018-10-12 18:50:06 +03:00
Nikolay Krasko
d8fda8b153
Tests for navigation to stdlib multiplatform sources (KT-26004)
...
#KT-26004 Fixed
2018-10-12 18:50:05 +03:00
Nikolay Krasko
e3d930a6a1
Build maven-like stdlib sources artifacts during dist
...
This is needed to emulate gradle and maven like projects in plugin tests.
2018-10-12 18:50:04 +03:00
Nikolay Krasko
ac2bc22f54
Use information from stub for contracts presence
2018-10-12 18:21:39 +03:00
Nikolay Krasko
d3ec145f13
Fixes for ReplaceArraysCopyOfWithCopyOfInspection
...
- Reduce applicability range
- Don't fix reporting level, otherwise it won't be possible to change
it in settings
- Using isCalling utility
2018-10-12 18:21:38 +03:00
kenji tomita
e6de8e9cd3
Inspection to convert Arrays.copyOf(a, size) to a.copyOf(size)
2018-10-12 18:21:36 +03:00
Nikolay Krasko
fc4f7303d3
Disable highlighting for decompiled Kotlin files (KT-27284)
...
#KT-27284 Fixed
2018-10-12 18:21:35 +03:00
victor.petukhov
b86211b434
Add spec tests for integer literals
2018-10-12 17:31:24 +03:00
Natalia Selezneva
4f04d4503a
Highlight files in diff view (KT-17892)
...
KT-17892 Fixed
2018-10-12 15:27:46 +03:00
Natalia Selezneva
db0021718f
Set since-build for Idea 182 and AS 3.3 to 182.4323.46
2018-10-12 15:27:46 +03:00
Natalia Selezneva
605396f9e2
Update idea to 2018.2.3 (182.4323.46)
2018-10-12 15:27:46 +03:00
Natalia Selezneva
6bddf36725
Update as33 branch to AS3.3 canary 12
2018-10-12 15:27:46 +03:00
Natalia Selezneva
3744a00f77
Run Kotlin Scratch in the background cancelable task (KT-25032)
...
KT-25032 Fixed
2018-10-12 15:27:46 +03:00
Natalia Selezneva
00e0f430ac
Add shortcut and menu item for Run Scratch Action (KT-24180)
...
KT-24180 Fixed
2018-10-12 15:27:45 +03:00
Natalia Selezneva
af2235fd1d
Fix compatibility with anko plugin
2018-10-12 15:27:45 +03:00
Natalia Selezneva
c73885142a
Do not access stubs in dumb mode finding script definition
2018-10-12 15:27:45 +03:00
Natalia Selezneva
daa6e9b562
Minor: reformat and rearrange code
2018-10-12 15:27:45 +03:00
Ilmir Usmanov
a5bcd3495e
Simplify tail-call optimisation check
...
Check, that all suspension points are immediately followed by ARETURN
and do not check that all these ARETURNs are immediately preceded by
suspension points.
#KT-27190 Fixed
2018-10-12 15:10:12 +03:00
Vyacheslav Gerasimov
d11fbac511
Build: Use cache-redirector.jetbrains.com to prevent connection timeouts
2018-10-12 14:57:37 +03:00