Sergey Igushkin
d0416bea03
Use Gradle 3.5 for kapt1 IT because of the separate classes dirs bug in
...
kapt1.
2018-02-13 17:43:11 +03:00
Sergey Igushkin
b5195d36bc
Use Gradle 3.4 for testCleanBuildLib because of classpath normalization
2018-02-13 17:43:11 +03:00
Sergey Igushkin
6e51ada36b
Override system-wide cache, simplify version checks,
2018-02-13 17:43:11 +03:00
Sergey Igushkin
99e731f6a6
Transform the new tests after rebase; Fix issues from KOTLIN-CR-1546
2018-02-13 17:43:10 +03:00
Sergey Igushkin
f9dc892c42
Do not stop Gradle daemons with the same version as that of the build.
2018-02-13 17:43:10 +03:00
Sergey Igushkin
a223870e7a
Exclude JPS tests from normal run. Log Gradle version when advancing it.
2018-02-13 17:43:10 +03:00
Sergey Igushkin
ae1ef06de2
Fix a few tests failing due to Gradle version change.
2018-02-13 17:43:10 +03:00
Sergey Igushkin
ced5bf6e2c
Fix getOutputForTask for newer Gradle versions
2018-02-13 17:43:10 +03:00
Sergey Igushkin
c394b50cb8
Implement logic for classes directories in Gradle IT across versions.
...
Also add a workaround for console type set in user's gradle.properties.
2018-02-13 17:43:10 +03:00
Sergey Igushkin
5905b23bf9
Change existing literal Gradle versions to GradleVersionRequirement
...
Also add workaround for kotlin-test-common not seen in the IDE
2018-02-13 17:43:09 +03:00
Sergey Igushkin
5bd52311dc
Introduce GradleVersionRequirement and logic for version for each test
2018-02-13 17:43:09 +03:00
Alexander Udalov
fd52deb9c1
Remove unneeded dependencies of module 'generators'
...
Previously, the classpath of this module was used to run all tests in
the project. This is why it depended on almost all modules in the
project. Now, in the Gradle build, these dependencies are no longer
needed
2018-02-13 15:42:16 +01:00
Mikhail Zarechenskiy
c4cfd07fe9
[NI] Fix infinite completion of arguments in AllCandidates mode
...
See AutoImports#testFactoryFunctionFromLambda for example
2018-02-13 15:06:34 +03:00
Mikhail Zarechenskiy
e017e9cb5f
Support passing inline class values with spread operator
2018-02-13 13:16:45 +03:00
Mikhail Zarechenskiy
3919dc94e1
Box values of inline class types when passing to function as varargs
2018-02-13 13:16:44 +03:00
Mikhail Zarechenskiy
6687751cf5
Generate as check for inline classes using wrapper
...
Should be improved when inline class is based on non-null reference
2018-02-13 13:16:44 +03:00
Mikhail Zarechenskiy
a88dbefcd9
Generate is check for inline classes same as for primitives
...
Should be improved when inline class is based on non-null reference
2018-02-13 13:16:44 +03:00
Mikhail Zarechenskiy
d606e5bc89
Correct boxing for functional types containing inline classes
2018-02-13 13:16:43 +03:00
Mikhail Zarechenskiy
a8a9f774d0
Map inline classes in generic argument position to theirs wrap classes
2018-02-13 13:16:43 +03:00
Mikhail Zarechenskiy
1d16d21dbb
Fix boxing for non-local and labeled returns with inline classes
2018-02-13 13:16:42 +03:00
Mikhail Zarechenskiy
80dd5c106e
Propagate KotlinType through call generator, fix boxing on arguments
2018-02-13 13:16:42 +03:00
Mikhail Zarechenskiy
22b9c25dd0
Add KotlinType info about this inside inline class
2018-02-13 13:16:41 +03:00
Mikhail Zarechenskiy
c86d3e354b
Skip call to the underlying value of inline class
2018-02-13 13:16:41 +03:00
Mikhail Zarechenskiy
2c279978c8
Fix generation of property accessor to the underlying value
2018-02-13 13:16:40 +03:00
Mikhail Zarechenskiy
ce601bebbe
Fix detection of erased this for inline class
2018-02-13 13:16:40 +03:00
Mikhail Zarechenskiy
b361d0e9c0
Add test and check that iterator over UInt folds to a simple for-loop
2018-02-13 13:16:40 +03:00
Mikhail Zarechenskiy
059f1e9eed
Support inline classes working with collection elements (get/set)
2018-02-13 13:16:39 +03:00
Mikhail Zarechenskiy
8015295059
Desugar constructor call of inline class to the underlying value
...
Also add information about KotlinType to the constant stack values
2018-02-13 13:16:39 +03:00
Mikhail Zarechenskiy
6320368609
Add KotlinType to the Coercion stack value
2018-02-13 13:16:38 +03:00
Toshiaki Kameyama
e35ec8ee08
Introduce intention 'expr.unsafeCast<Type>()' <- -> 'expr as Type'
...
So #KT-16382 Fixed
2018-02-13 13:05:52 +03:00
Mikhail Glukhikh
085c7d30ed
Specify expl. lambda signature: derive from offset independent intention
...
Related to KT-22492
2018-02-13 12:28:56 +03:00
Toshiaki Kameyama
5499078fcc
Make "Specify explicit lambda signature" available on whole lambda
...
So #KT-22492 Fixed
2018-02-13 12:28:50 +03:00
Toshiaki Kameyama
059a797e10
Don't report redundant semicolon for a call before lambda expression
...
So #KT-22719 Fixed
2018-02-13 11:52:04 +03:00
Toshiaki Kameyama
f9555f3f64
Join with assignment: remove comment from target range #KT-22110 Fixed
2018-02-13 11:45:31 +03:00
Dmitry Petrov
36128ba66f
Don't generate primary constructor body for expect classes
2018-02-13 10:09:28 +03:00
Dmitry Petrov
839ebba157
ProperNumberComparisons is disabled by default (until LDC decision)
2018-02-13 09:26:00 +03:00
Dmitry Petrov
af79bbd247
Minor: reformat code
2018-02-13 09:25:40 +03:00
Dmitry Petrov
a790195808
Implement "proper numeric comparisons" support in JVM BE
2018-02-13 09:25:40 +03:00
Dmitry Petrov
e23a48e8d0
Minor: reformat code
2018-02-13 09:25:40 +03:00
Nikita Skvortsov
b1419e2a8c
fix import of expectedBy scope dependencies inside composite builds
2018-02-12 19:29:12 +03:00
Pavel V. Talanov
8ac7f0b592
Minor: remove error marker from commented out test code
2018-02-12 16:46:16 +01:00
Pavel V. Talanov
fd4e262b1f
Minor: modify test for KT-22819 to unmute it on teamcity
...
#KT-22819 Open
2018-02-12 16:35:56 +01:00
Pavel V. Talanov
9e69c73387
Minor: comment out test for KT-22594 to unmute it on teamcity
...
#KT-22594 Open
2018-02-12 16:35:51 +01:00
Vyacheslav Karpukhin
53946456cf
Do not use hardcoded plugin ID for update checks
...
When Kotlin plugin is bundled into another plugin, there won't be a plugin with ID org.jetbrains.kotlin registered in PluginManager, which leads to runtime exceptions. To fix that let's determine the plugin ID dynamically instead.
2018-02-12 17:33:54 +03:00
Nikolay Krasko
f5e78a89bc
Collect statistics of used defaults set in formatting (KT-22252)
...
^KT-22252 In Progress
2018-02-12 17:33:54 +03:00
Anton Bannykh
cd3a797f2a
JS: fix corner case in when translation (fix crash in KT-22544)
2018-02-12 17:15:48 +03:00
Alexey Sedunov
b315e0c113
Gradle: Fix dependency import when "module per sourceset" is disabled
...
#KT-22360 Fixed
2018-02-12 15:10:19 +03:00
Alexey Sedunov
e1aec46300
Configuration: Set up Kotlin SDK (if necessary) on plugin startup
...
#KT-22590 Fixed
2018-02-12 15:10:16 +03:00
Ilya Gorbunov
99fd66137c
Update the instruction how to run the stdlib generator
...
Use relative paths in urls
2018-02-12 14:32:51 +03:00
Yanis Batura
9c8c1cdc18
Fix a couple of typos in docs and ReadMe
...
* Fix a couple of typos
- In the main ReadMe.md
- In onEach template's doc
* Update generated source code
2018-02-12 14:22:47 +03:00