Dmitry Petrov
68e2d8dcd9
Support unsigned integers in intrinsic range values
2019-01-10 17:17:51 +03:00
Dmitry Petrov
d22a31cb90
Use elementKotlinType in primitive number range intrinsics
2019-01-10 17:17:51 +03:00
Dmitry Petrov
5ae8df4d88
Use ComparisonGenerator for range element type in counter loops
2019-01-10 17:17:51 +03:00
Dmitry Petrov
4e48ce02f1
Minor: move RangeCodegenUtil to range package
2019-01-10 17:17:51 +03:00
Dmitry Petrov
fc94254320
Minor: refactor getRangeOrProgressionElementType + reformat
2019-01-10 17:17:51 +03:00
Dmitry Petrov
6414abb277
Minor: reformat & optimize imports
2019-01-10 17:17:51 +03:00
Igor Chevdar
e640f01b4e
Fixed bug with IR parameter copying.
...
Constructors don't have their own type parameters
but rather inherit them from the parent.
2019-01-10 14:35:11 +03:00
Igor Chevdar
1bef26c80e
[JS IR] Fixed bug with constructors type parameters
2019-01-10 14:35:11 +03:00
Igor Chevdar
5afa44edea
Added a coroutine test
2019-01-10 14:35:11 +03:00
Igor Chevdar
1eaf2d2c42
Typo fix
2019-01-10 14:35:11 +03:00
Igor Chevdar
2c0f93b133
IR: Supported special coroutine intrinsic
...
See https://youtrack.jetbrains.com/issue/KT-26317 for details
2019-01-10 14:35:11 +03:00
Igor Chevdar
621a9bd1df
Removed a Native specific lowering
2019-01-10 14:35:10 +03:00
Igor Chevdar
9fee03ca81
IR: Fixed some parents
2019-01-10 14:35:10 +03:00
Igor Chevdar
a78b80f8bf
IR fixes to help symbolization of K/N
2019-01-10 14:35:10 +03:00
Roman Artemev
d363763420
Fix wrapped descriptors
2019-01-10 14:35:10 +03:00
Denis Zharkov
2b40ecfd29
Fix exception in ultra-light classes in case of complex mpp hierarchy
...
Without the introduced override, default implementation of isEquivalentTo
runs delegate computation of `another` that is illegal
for KtUltraLightClass
^KT-28912 Fixed
2019-01-10 14:11:20 +03:00
denisgaebler
be881442da
One more fix for MinGW path in K/N runner
2019-01-10 17:29:34 +07:00
Ilya Chernikov
02f2c941c8
Add import support to main-kts, with test
2019-01-10 10:59:32 +01:00
Ilya Chernikov
4571e273a4
Add shared script instances support, fix and refactor evaluation accordingly
...
also fix arguments order in the evaluator
2019-01-10 10:59:32 +01:00
Ilya Chernikov
7bb4233e17
Add mapping function for transformations with ResultsWithDiagnostics
...
also improve chaining helpers
2019-01-10 10:59:32 +01:00
Ilya Chernikov
01f2a21192
[minor] add comment to the "Fix locking in script definition provider" commit
2019-01-10 10:59:32 +01:00
Ilya Chernikov
e5febddaf7
[minor] fix scripting test on windows
2019-01-10 10:59:32 +01:00
denisgaebler
1ca2e4fdba
Update JavaSdkUtil.java
...
Added path for IBM JDK on platform z/OS
2019-01-10 12:46:05 +03:00
Anton Yalyshev
c809cfd800
Merge branch 'rr/ayalyshev/KT-29062'
2019-01-10 12:05:53 +03:00
Mikhail Glukhikh
7095182e2d
FIR: support suspend functions #KT-24084 Fixed
2019-01-10 10:51:28 +03:00
Mikhail Glukhikh
7aba441234
FIR tree: support const expressions (adds IR dependency) #KT-24023 Fixed
...
Also support generic tree elements in FIR visitor generator
2019-01-10 10:51:08 +03:00
Mikhail Glukhikh
18ea86cfb4
Remove parentheses: add semicolon before lambda if necessary
...
In 2010b175 , it was suggested just not to suggest parentheses removal.
However, it contradicts with behaviour of "Replace contains" which
adds semicolon before lambda in this case. So in this commit I made
behaviour of remove parentheses the same.
This commit reverts production part of 2010b175
Fixes failing test of "replace contains"
2019-01-10 10:45:46 +03:00
Sergey Rostov
62222460b6
JPS build, workarounds for idea importing: fix runtime classpath
2019-01-10 08:50:41 +03:00
Sergey Rostov
5cda676c9f
JPS: Print components of CacheVersion, add tests
2019-01-10 08:50:39 +03:00
Sergey Rostov
b3985d2735
JPS: remove cache version from test data
2019-01-10 08:50:38 +03:00
Andrey Uskov
b6aed5b98a
Change task creation with task registration in Kotlin plugin
...
#KT-27657 Fixed
2019-01-10 01:41:21 +03:00
Yan Zhulanow
7d660834e1
Fix 'CommandLineProcessor' extension point calling, switch it to using ServiceLoaderLite
2019-01-09 21:54:52 +03:00
Yan Zhulanow
34818b0bbe
Remove JPS support for Android Extensions
2019-01-09 21:54:52 +03:00
Alexander Udalov
cca6ba38be
Add tests for obsolete codegen issues
...
#KT-16790 Obsolete
#KT-16858 Obsolete
#KT-17441 Obsolete
2019-01-09 19:18:54 +01:00
Mikhael Bogdanov
0bb97cf590
Add test for Obsolete issue
...
#KT-12208 Obsolete
2019-01-09 16:00:03 +01:00
Ilya Matveev
dcaa56bc0b
Fix MinGW path in Kotlin/Native runner
2019-01-09 20:43:29 +07:00
Anton Yalyshev
ef8bbafeff
Checked null condition for JPanel createDestinationRootPanel() #KT-29062 Fixed
2019-01-09 13:04:23 +03:00
Anton Yalyshev
bec07ae7d9
createFileFromTemplate() call from ExtractSuperRefactoring doesn't affect statistics trigger anymore
2019-01-09 12:29:15 +03:00
Anton Yalyshev
a893a26585
Added statistics for Scratches to new_file_templates collector
2019-01-09 12:29:15 +03:00
Anton Yalyshev
6510c17804
Added statistics collector for new_file_templates and set trigger to createFileFromTemplate
2019-01-09 12:29:14 +03:00
Mikhael Bogdanov
f7ce8c18c6
Add tests for Obsolete issues
...
#KT-18977 Obsolete
2019-01-09 10:20:54 +01:00
Toshiaki Kameyama
f389c31d8e
Replace with binary operator: don't highlight when receiver is dynamic type
...
#KT-28773 Fixed
2019-01-09 12:17:40 +03:00
Toshiaki Kameyama
2010b1756e
Remove unnecessary parentheses: don't suggest when parentheses are for lambda
2019-01-09 12:16:01 +03:00
Toshiaki Kameyama
05d8932fa6
Remove useless cast: don't remove parentheses for lambda
...
#KT-28641 Fixed
2019-01-09 12:16:01 +03:00
Toshiaki Kameyama
d02867a831
Add "Wrap with array literal" quick fix for annotation parameters
...
#KT-28969 Fixed
2019-01-09 12:12:27 +03:00
Toshiaki Kameyama
53b0aa5813
"Wrap element with arrayOf() call": don't suggest for annotation parameters
...
#KT-28969 Fixed
2019-01-09 12:12:27 +03:00
Nicolay Mitropolsky
41b6bcf8c3
Converting object literal to class allows to choose a name (KT-19254)
2019-01-09 11:12:47 +03:00
Alexander Udalov
a9afee77d7
Add tests for obsolete codegen issues
...
#KT-8203 Obsolete
#KT-15950 Obsolete
2019-01-08 20:43:46 +01:00
Mikhael Bogdanov
9a059809bf
Add test for Obsolete issues
...
#KT-15956 Obsolete
#KT-15751 Obsolete
#KT-16417 Obsolete
#KT-21787 Obsolete
2019-01-08 13:52:47 +01:00
Mikhael Bogdanov
6a19e45e27
Avoid ConcurrentModificationException
...
#KT-26384 Fixed
2019-01-08 13:52:46 +01:00