victor.petukhov
ed73513d48
Add PSI test templates for identifiers
2018-10-03 13:49:20 +03:00
victor.petukhov
4bfa90dc25
Refactor files in the 'spec' package
2018-10-03 13:49:11 +03:00
victor.petukhov
45c5a168a3
Implement feature interaction tests generator based on templates
2018-10-03 13:48:22 +03:00
victor.petukhov
6f95e4ae3b
Add codegen box spec tests support
2018-10-03 13:29:25 +03:00
victor.petukhov
8538866778
Add few tests for contracts
...
- Contracts in getter/setter (unexpected behaviour)
- Check smartcasts when non-null assertion for a contract function is used
- Check work of contracts when type parameter of the callsInPlace is specify explicitly
- Check smartcasts working if type checking for contract function is used
2018-10-03 13:29:13 +03:00
victor.petukhov
ecb3f10e47
Add 'mute' concept: move tests with unexpected behaviour to the corresponding folder
2018-10-03 13:26:37 +03:00
victor.petukhov
84dc28374c
Add multilevel sections support and corresponding renaming
2018-10-03 13:26:29 +03:00
Ilya Gorbunov
2c313e12e5
Rewrite builtin serialization task as JavaExec
...
Add standard clean, assemble, build tasks by applying base plugin.
Clean outputs in dist/builtins on clean.
2018-10-03 11:51:30 +03:00
Dmitry Petrov
b55b0c1ff1
Support local property delegation to inline class values
...
Also, add extra test on property delegation.
2018-10-03 11:09:48 +03:00
Dmitry Petrov
6fa436911a
Support interface delegation to inline class values (KT-27318)
2018-10-03 11:09:47 +03:00
Dmitry Petrov
5480bf69e8
Support property delegation to inline class values (KT-27070)
2018-10-03 11:09:46 +03:00
Dmitry Petrov
70e60ea9bc
Fix inline class coercion in string template with StringBuilder.append
...
Inline class values with array as a carrier type were not boxed.
#KT-27113
2018-10-03 11:09:41 +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
Yan Zhulanow
6d73aa29e0
Pill: Understand dependencies with the 'apiElements' configuration name as module dependencies
2018-10-02 20:03:01 +03:00
Dmitry Petrov
813e4c966a
Update testData for constant initializers in IR
2018-10-02 17:08:55 +03:00
Dmitry Petrov
189b05f8a4
Update testData for public API: companion field visibility in 1.3
2018-10-02 16:20:09 +03:00
Nikolay Krasko
02fbb03d6a
Show migration when changes are in kts files or inside buildSrc dir (KT-27329)
...
#KT-27329 Fixed
2018-10-02 16:05:18 +03:00
Nikolay Krasko
d756d93af1
Better coroutines versions update (KT-27351)
...
- It was decided to update coroutines to 1.0.0 not to 0.30.0 for 1.3
- Always update to 0.27.0-eap13 coroutines for versions before 0.27.0
#KT-27351 Fixed
2018-10-02 15:54:10 +03:00
Dmitry Petrov
8891733074
Generate const val initializers as IrConst expressions
2018-10-02 13:46:37 +03:00
Mikhail Glukhikh
75b27f890a
Fix tests in mobile shared library wizard #KT-27335 Fixed
2018-10-02 13:08:45 +03:00
Mikhael Bogdanov
4fb434c0de
Move out jvm-specific part from ir-common
...
#KT-27005 Fixed
2018-10-02 11:12:21 +02:00
victor.petukhov
023e4e3a0e
Actualize tests after KT-27260 fix
2018-10-02 11:49:10 +03:00
Alexey Sedunov
b5d3520db9
MPP: Add MPP sources roots to dependent Android module
...
#KT-27331 Fixed
2018-10-02 11:18:09 +03:00
Dmitry Savvinov
62edf29cbf
Use DataFlowValue instead of Descriptor for equality of ESDataFlowValue
...
Equality of those values is crucial for intersecting data-flow info
coming from expressions like: 'this.x != null || other.x != null'.
Using 'ValueDescriptor' for equality is obviously wrong, because then 'this.x'
and 'other.x' will be treated as equal, leading to unsound smartcasts.
This commit adds proper overload of 'equals' to 'ESDataFlowValue' that
will compare them based on underlying 'DataFlowValue' (which already
distinguish those values)
^KT-27260 Fixed
2018-10-02 11:05:06 +03:00
Dmitry Savvinov
dd682bd37d
Add test on data-flow
...
Idea is to intersect similar smartcasts on similar properties coming
from *different* instances (something like
'this.x == null && other.x == null' ).
It checks that we distinguish subjects of such smartcasts properly.
Currently behavior is undesired, see KT-27260
2018-10-02 11:05:06 +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
Ilya Chernikov
da9c486a70
Fix gradle support for non-kts scripts for inter-project dependencies
2018-10-01 18:34:15 +02:00
Ilya Chernikov
c50e880173
Implement more precise diagnostic when a standard script template is missing
...
adapt quickfix accordingly
#KT-26505 fixed
2018-10-01 18:34:15 +02:00
Ilya Gorbunov
b1c4590537
Override docs of MutableList.add/addAll methods
...
#KT-25632
2018-10-01 18:09:09 +03:00
Ilya Gorbunov
d6beddaac5
Document the requirement for 'minus(elements)' to have stable hashCode
...
#KT-24536
2018-10-01 18:09:09 +03:00
Ilya Gorbunov
27beadad18
Summary for new packages: kotlin.coroutines, kotlin.contracts, kotlin.random
2018-10-01 18:03:28 +03:00
Ilya Gorbunov
08822ff14b
Document that lines and lineSequence do not preserve line separators
2018-10-01 18:03:23 +03:00
Ilya Gorbunov
21b71f3bb1
Clarify the purpose of the message parameter of assertFailsWith
...
#KT-22869 Fixed
2018-10-01 18:03:23 +03:00
Ilya Gorbunov
9f9033870c
Add a note about non-atomic behavior of MutableMap.getOrPut
...
#KT-13821
2018-10-01 18:03:23 +03:00
Ilya Gorbunov
bb9e9ac1ee
Seeded random docs: add a note about repeatability not being preserved
...
We're not ready to give a guarantee that the seeded generator
implementation will never change in future versions.
2018-10-01 18:03:23 +03:00
Ilmir Usmanov
896913907b
Update bootstap
2018-10-01 17:30:06 +03:00
Alexander Udalov
712c9cbfe6
Minor, mute legacyModOperator.kt for JVM_IR
2018-10-01 16:17:14 +02:00
Alexander Udalov
04ba1cff05
Minor, unmute bothInExpectAndActual.kt for JS_IR
2018-10-01 16:17:14 +02:00
Alexander Udalov
6a6a28f8cd
Fix ComponentContainerTest
2018-10-01 16:17:14 +02:00
Vyacheslav Gerasimov
f871e9dc79
Update gradle version to 4.10.2
2018-10-01 16:38:58 +03:00
Vyacheslav Gerasimov
f9cefdaa44
Add to kotlin-plugin.jar js.translator module referenced by serialization
2018-10-01 16:27:23 +03:00
Vyacheslav Gerasimov
28c84d0e00
183: Make 183 plugin compatible with upcoming Idea 191
2018-10-01 15:35:50 +03:00
Mikhail Glukhikh
6dbb51d7a7
MPP wizards: remove AS bunches (anyway they aren't accessible for AS)
2018-10-01 15:07:44 +03:00
Alexey Sedunov
a24e58f5a0
Configuration: Update repository URLs to use HTTPS instead of HTTP
...
#KT-27095 Fixed
2018-10-01 14:46:52 +03:00
Alexey Sedunov
03b289b899
Configuration: Do not save default values of sourceMapEmbedSources
2018-10-01 14:46:52 +03:00
Alexey Sedunov
0765cb9c62
Minor: Fix model access
2018-10-01 14:46:52 +03:00
Alexander Udalov
55c8b35eee
Remove unneeded default imports in stdlib and tests
2018-10-01 13:39:02 +02:00
Mikhail Glukhikh
199ae3bac8
Forbid all MPP wizards in IDEA 173, but leave them in AS 3.1
...
Related to KT-27267
2018-10-01 14:36:52 +03:00
Mikhail Glukhikh
4c85616ee3
Forbid all MPP native-related wizards in IDEA 181, but leave in AS 3.2
...
Related to KT-27267
2018-10-01 14:36:51 +03:00