Alexander Udalov
f9be21c935
Report warning on @Synchronized on inline methods
...
Until KT-27310 is supported, we warn users that this has no effect.
#KT-29884 Fixed
2019-03-11 18:32:44 +01:00
Alexander Udalov
76aff56b04
Remove unneded parameter of ResolverForProjectImpl
2019-03-11 18:31:59 +01:00
Alexander Udalov
0ccf7345e3
Move JsAnalyzerFacade from ide-common to js.frontend
...
To be used in diagnostic tests now, and as a replacement for
TopDownAnalyzerFacadeForJS in the future
2019-03-11 18:31:59 +01:00
Dmitry Gridin
6b8547f57b
Fix "Specify type explicitly" intention with generic type
...
#KT-27641 Fixed
#KT-30252 Fixed
2019-03-11 23:38:19 +07:00
Dmitry Gridin
57040f6f9d
Minor: refactoring & fix warnings
2019-03-11 23:38:19 +07:00
Toshiaki Kameyama
f1e66d0654
Add "Replace 'associate' with 'associateBy' or 'associateWith'" inspection
...
#KT-26269 Fixed
2019-03-11 19:33:17 +03:00
Ilya Gorbunov
42120b93b8
KT-29151 Provide specialized string samples for all drop/take functions
...
These include:
- take, takeLast, takeWhile, takeLastWhile,
- drop, dropLast, dropWhile, dropLastWhile
2019-03-11 19:30:59 +03:00
Burak Eregar
991e739693
KT-29151 Fix the problematic pages - CharSequence.take() & String.take()
2019-03-11 19:30:58 +03:00
Toshiaki Kameyama
0f45e3d238
Fix false positive for HasPlatformType with member extension on 'dynamic'
...
#KT-29812 Fixed
2019-03-11 19:28:08 +03:00
Mikhail Zarechenskiy
1594c1fc6b
[NI] Don't consider Nothing-constraint as proper to complete call
...
Follow-up of 9b3e17f0 . There we decided to complete call if a type
variable from a return type has proper lower constraints, now we refine
this rule wrt `Nothing`-like constraints to avoid inferring type variables
to Nothing, which is quite useless
#KT-30370 Fixed
2019-03-11 19:14:29 +03:00
Dmitriy Dolovov
77ab15ec65
Add a hint to the message about not found Kotlin Gradle plugin version
...
Issue #KT-19788
2019-03-11 18:15:05 +07:00
Dmitry Gridin
6ba0a182bb
Fix false positive "Insert explicit type arguments" intention
...
#KT-16139 Fixed
2019-03-09 14:01:04 +07:00
Dmitry Gridin
212e573c26
Minor: refactoring InsertExplicitTypeArgumentIntention
2019-03-09 14:01:04 +07:00
Ilya Gorbunov
6ae5e91930
Move UArraysKt into kotlin.collections.unsigned package
...
Provide UArraysKt class in kotlin.collections for binary compatibility
instead of removed multipart facade class. It contains only non-inline
functions of the latter.
2019-03-08 23:35:40 +03:00
Ilya Gorbunov
db4c4132f6
Make JvmPackageName a common internal annotation
2019-03-08 23:35:37 +03:00
Ilya Gorbunov
f07fed9afa
Temporary fix to avoid runtime exception due to incorrect inferred type
...
Caused by: java.lang.ClassCastException:
kotlin.collections.EmptySet cannot be cast to java.lang.Void
at org.jetbrains.kotlin.codegen.coroutines.CoroutineTransformerMethodVisitorKt.findSafelyReachableReturns(CoroutineTransformerMethodVisitor.kt:984)
Co-authored-by: Alexander Udalov <alexander.udalov@jetbrains.com >
2019-03-08 23:35:32 +03:00
Ilya Gorbunov
1f83a48839
Advance bootstrap to 1.3.40-dev-310
2019-03-08 23:34:36 +03:00
Abduqodiri Qurbonzoda
be6c2d8c7d
Implement min max minOf maxOf functions for unsigned types (KT-30035)
2019-03-08 23:34:36 +03:00
Abduqodiri Qurbonzoda
bf83f0e070
Implement contains extension functions for URanges (KT-26378)
2019-03-08 23:34:35 +03:00
Abduqodiri Qurbonzoda
cb587893c0
Implement sorting extension functions for UArrays
2019-03-08 23:34:35 +03:00
Abduqodiri Qurbonzoda
c42dbb34ca
Implement drop, take & filter extension functions for UArrays
2019-03-08 23:34:35 +03:00
Abduqodiri Qurbonzoda
abb275775e
Implement map, flatMap, zip & groupBy extension functions for UArrays
2019-03-08 23:34:35 +03:00
Abduqodiri Qurbonzoda
503264b996
Implement folding extension functions for UArrays
2019-03-08 23:34:35 +03:00
Abduqodiri Qurbonzoda
7695b5e575
Implement sum extension function for UArrays (KT-28779)
2019-03-08 23:34:34 +03:00
Abduqodiri Qurbonzoda
690e35f11a
Implement reduce, forEach, min & max extension functions for UArrays
2019-03-08 23:34:34 +03:00
Abduqodiri Qurbonzoda
fc85781bfc
Implement asList, slice & sliceArray extension functions for UArrays
2019-03-08 23:34:34 +03:00
Abduqodiri Qurbonzoda
114736c09b
Implement reversing extension functions for UArrays
2019-03-08 23:34:34 +03:00
Abduqodiri Qurbonzoda
92cd84682c
Implement first, last & single extension functions for UArrays
2019-03-08 23:34:34 +03:00
Abduqodiri Qurbonzoda
299fac8e2d
Implement conversion from typed array and collection to UArrays
2019-03-08 23:34:34 +03:00
Abduqodiri Qurbonzoda
bbaabb90e4
Implement any, all, none, count & sumBy functions for UArrays
2019-03-08 23:34:33 +03:00
Abduqodiri Qurbonzoda
512d986006
Implement index-requesting extension functions for UArrays
...
Contains implementations of `indexOf`, `lastIndexOf`, `indexOfFirst`,
`indexOfLast`, `lastIndex` and `indices` extension functions.
2019-03-08 23:34:33 +03:00
Abduqodiri Qurbonzoda
876dff6d22
Implement fill extension function for UArrays (KT-28339)
2019-03-08 23:34:33 +03:00
Abduqodiri Qurbonzoda
6b92190726
Implement component(N) functions for destructuring UArrays
2019-03-08 23:34:33 +03:00
Abduqodiri Qurbonzoda
550c74bb6b
Implement binarySearch method for UArrays (KT-27262)
2019-03-08 23:34:33 +03:00
Abduqodiri Qurbonzoda
6cd9858147
Specialize plus operator for UArrays (KT-28397)
2019-03-08 23:34:32 +03:00
Nikolay Krasko
8977d0e26d
Setup Missing API inspection
2019-03-08 19:13:07 +03:00
Alexander Udalov
d8b364ea40
Mark KAnnotatedElement.hasAnnotation as experimental
...
#KT-29041 Fixed
2019-03-08 14:57:01 +01:00
Kerooker
a342f844b8
Implements KAnnotatedElement.hasAnnotation()
...
This commit fixes KT-29041, by adding a convenience method to verify if a certain `KAnnotatedElement` has an annotation or not
2019-03-08 14:53:51 +01:00
Ilya Matveev
3a33f68fc9
Fix compilation after refactoring MPP extension access
2019-03-07 20:04:59 +03:00
Kirill Shmakov
fe9236f91e
Add key 'module' into interop definitions file
2019-03-07 19:42:32 +03:00
Ilya Matveev
607288b089
Update Kotlin/Native: 1.2-eap-8365
2019-03-07 18:36:56 +03:00
Ilya Matveev
45c2489a53
CocoaPods: Replace '-' with '_' in podspec name
2019-03-07 18:08:50 +03:00
Ilya Matveev
230f11df42
CocoaPods: Refactor framework name mangling
2019-03-07 18:08:50 +03:00
Ilya Matveev
226da18e3a
CocoaPods: Rename user-visible: Cocoapods -> CocoaPods
2019-03-07 18:08:50 +03:00
Ilya Matveev
7ac7ea58f8
CocoaPods: Rename podspec task: generatePodspec -> podspec
2019-03-07 18:08:50 +03:00
Ilya Matveev
2f45206268
CocoaPods: Replace dynamic dummy framework with a static one
2019-03-07 18:08:50 +03:00
Ilya Matveev
1f2f0244a1
Refactor kotlin multiplatform extension access
2019-03-07 18:08:50 +03:00
Ilya Matveev
52c9c74f52
CocoaPods: Use regex to split quoted compiler args
2019-03-07 18:08:50 +03:00
Ilya Matveev
3b80ffe1d6
CocoaPods: Add 'native' in the plugin ID
...
kotlin-cocoapods -> kotlin-native-cocoapods
org.jetbrains.kotlin.cocoapods ->
org.jetbrains.kotlin.native.cocoapods
2019-03-07 18:08:50 +03:00
Ilya Matveev
3cd20fab75
Support -Xstatic-framework in DSL
...
In Kotlin/Native 1.3.30 EAP1 an ability to build
a static ObjC framework has been added. This patch
adds support for this feature in the kotlin-multiplatform
plugin.
2019-03-07 18:08:50 +03:00