Toshiaki Kameyama
20aa8ebdb0
Add "Throwable not thrown" Inspection
...
#KT-11629 Fixed
2019-03-01 11:35:12 +03:00
Toshiaki Kameyama
e0aeb8f7ec
Remove redundant let: rename invoke call
...
#KT-29556 Fixed
2019-03-01 11:31:07 +03:00
Toshiaki Kameyama
df3953f03a
Redundant Unit: fix false positive when return type is nullable Unit
...
#KT-30038 Fixed
2019-03-01 11:12:25 +03:00
Toshiaki Kameyama
d67c793a9b
map.get() with not-null assertion: add quick-fixes
...
#KT-30010 Fixed
2019-03-01 11:11:05 +03:00
Mikhail Glukhikh
84a3239cdf
FIR: extract "toTypeProjection"
2019-03-01 10:36:19 +03:00
Mikhail Glukhikh
f8497bc339
FIR: extract "constructType" from type resolver
2019-03-01 10:36:19 +03:00
Mikhail Glukhikh
1cefcc1438
Add "firCompilerTest" configuration & include it into compiler tests
2019-03-01 10:36:19 +03:00
Natalia Selezneva
bc1e836f01
Fix saving Kotlin Scripting Setting to xml
...
^KT-30146 Fixed
2019-03-01 09:42:43 +03:00
Ilya Gorbunov
640699e076
Do not expose internal copyOfUninitializedElements and copyOfNulls
2019-02-28 23:44:00 +03:00
Ilya Gorbunov
2e9497f8f8
Rewrite copyOfUninitializedElements with templates without using copyRangeTo
2019-02-28 22:57:45 +03:00
Ilya Gorbunov
c1a51d44a4
Rewrite copyInto without using copyRangeTo
...
Rename array copying implementation to arrayCopy
2019-02-28 22:57:45 +03:00
Ilya Gorbunov
b8d9e896c2
Move sorting implementations for Native to kotlin.collections
...
- Move Array.sortWith to generated code
2019-02-28 22:57:45 +03:00
Svyatoslav Kuzmich
e11fda1c49
[JS IR BE] Skip external methods in js default arguments stub generators
2019-02-28 20:13:56 +03:00
Svyatoslav Kuzmich
8da076c1ed
[JS IR BE] Fix basic reflection for primitive types
2019-02-28 20:13:56 +03:00
Svyatoslav Kuzmich
a01407eec9
[JS IR BE] Don't mangle Any::equals method
2019-02-28 20:13:56 +03:00
Svyatoslav Kuzmich
27005d7c2e
[JS IR BE] Basic support for external varargs
2019-02-28 20:13:56 +03:00
Svyatoslav Kuzmich
0d9218b017
[JS IR BE] Refactor namer
2019-02-28 20:13:55 +03:00
Svyatoslav Kuzmich
e9cdad1143
[JS IR BE] Remove support for dynamic symbols and descriptors
...
Dynamic expressions in IR are now represented as IrDynamicOperatorExpression
We don't have dynamic functions, dynamic dispatch receivers anymore
2019-02-28 20:13:55 +03:00
Svyatoslav Kuzmich
d323dce2b6
[JS IR BE] Fix codegen for nested external objects
2019-02-28 20:13:55 +03:00
Dmitry Gridin
41f3316981
Fix caret position in "Convert function to property" intention
...
#KT-19944 Fixed
2019-02-28 15:59:50 +03:00
Dmitry Gridin
29a63ae58c
Refactoring & fix warnings
2019-02-28 15:59:50 +03:00
Vadim Brilyantov
bd2e51ded5
Fix for bug introduced in moveConflictUtils (never show warnings when moving to the same scope)
2019-02-28 15:52:28 +03:00
victor.petukhov
bd03ecf4a0
Rename helper file with typealias samples for spec tests
2019-02-28 14:55:41 +03:00
victor.petukhov
b7a5d73bf0
Add type inference tests by specification to remote run tests
2019-02-28 11:55:16 +03:00
Georgy Bronnikov
c618ef9304
Correct phase argument names and cli test outputs
2019-02-28 11:53:02 +03:00
Georgy Bronnikov
5ff1337ec8
Add some phase checkers
2019-02-28 11:53:02 +03:00
Georgy Bronnikov
da13d3288e
Check pre- and postconditions on phases
2019-02-28 11:53:02 +03:00
Natalia Selezneva
48433110a4
Do not threat modifications inside lambdas in KtScriptInitializer block as out of code block
2019-02-28 10:59:15 +03:00
Natalia Selezneva
49277bb5e4
Optimize MemberVisibilityCanBePrivateInspection: check that descriptor is in class before resolving it
2019-02-28 10:59:14 +03:00
Natalia Selezneva
560acd631c
KtScriptInitializer doesn't has a descriptor
2019-02-28 10:59:13 +03:00
Natalia Selezneva
3b4d1dd7bf
Optimize ChangeVisibilityModifierIntention: do not analyze element if declaration isn't local
2019-02-28 10:59:12 +03:00
Natalia Selezneva
869fb46c0b
Optimize KotlinUFunctionCallExpression.isAnnotationArgumentArrayExpression
2019-02-28 10:59:12 +03:00
Toshiaki Kameyama
6ca22fbf34
Remove redundant let: do not report for function stored in variable call
...
#KT-30082 Fixed
2019-02-28 10:44:05 +03:00
Dmitry Gridin
304007f602
Fix false positive "Redundant companion reference"
...
#KT-30166 Fixed
2019-02-28 10:42:22 +03:00
Sergey Rostov
50263ed7cd
JPS Build: update artifacts configuration (bootstrap)
2019-02-28 09:16:10 +03:00
Yan Zhulanow
7c0233dfeb
191: 191: Fix test compilation, remove deleted test
2019-02-27 21:41:09 +03:00
Kirill Shmakov
262b3fde3d
Fix Gradle MPP integration tests
...
#KT-30056 Fixed
2019-02-27 20:51:04 +03:00
Dmitry Gridin
3756b6f54d
Add inspection to remove redundant qualifier name
...
#KT-12134 Fixed
2019-02-27 20:43:35 +03:00
Dmitry Gridin
d0c3a28996
Move canBePossibleToDropReceiver to Companion object & fix warnings
2019-02-27 20:43:35 +03:00
Ilya Gorbunov
19bd326810
Swap mismatched docs for Result.onSuccess/onFailure KT-30109
2019-02-27 17:53:11 +03:00
Ilya Gorbunov
908009bf42
Improve double-to-ulong conversion tests
...
#KT-27108
2019-02-27 17:49:41 +03:00
Mikhail Zarechenskiy
892fb9f39e
Increment metadata version and improve message for error type
...
Follow-up of 617bed1b
2019-02-27 14:03:22 +03:00
Vyacheslav Gerasimov
f7428e7161
Build: Add diagnostic for publish() helper
2019-02-27 13:21:17 +03:00
Vyacheslav Gerasimov
a42f607ecf
Build: Fix artifacts signing for maven central
...
With gradle > 5.0 `publish()` helper call should be done before
`noDefaultJar()` or any other artifact hacks, otherwise singing plugin doesn't sign any jars
2019-02-27 13:21:17 +03:00
Vyacheslav Gerasimov
df3aa48c9b
Build: Apply java plugin in kotlin-annotation-processing-embeddable
...
Otherwise artifact signature works incorrectly for this project
2019-02-27 13:21:17 +03:00
Vyacheslav Gerasimov
f4c157a9bc
Build: properly remove artifact from archives in runtimeJar helper
2019-02-27 13:21:17 +03:00
Alexander Podkhalyuzin
6098e97ae5
Do not go to the same type twice during contains search
...
This fixes exponent in algorithm for scala.FunctionN.curried, where N can be up to 22.
#KT-29435 Fixed
2019-02-27 12:36:43 +03:00
Nicolay Mitropolsky
c151be5547
Uast multiresolve key description fix
2019-02-27 12:15:32 +03:00
Mark Punzalan
fc5eac26cd
Extracted complex string concatenation bytecode test case into separate test data file.
2019-02-27 08:36:35 +01:00
Mark Punzalan
d4d5a6011c
Flatten nested string concatenation expressions into a single IrStringConcatenation, in a separate lowering phase.
...
Consolidating these into IrStringConcatenations allows the backend to produce efficient code for string concatenations (e.g., using StringBuilder for JVM).
2019-02-27 08:36:35 +01:00