Toshiaki Kameyama
ff63ba4dc1
Add inspection: redundant internal in local anonymous object / class
...
So #KT-23617 Fixed
2018-04-18 11:17:52 +03:00
Mikhail Glukhikh
1d3ba5641d
"Main should return Unit": report on identifier, delete block body type
2018-04-18 11:16:03 +03:00
Toshiaki Kameyama
1cd438c3f7
Add inspection "main should return Unit" #KT-16085 Fixed
2018-04-18 10:59:23 +03:00
Ilya Gorbunov
8784d89f38
Use kotlin-stdlib-sources.jar in tests
...
Instead of deprecated kotlin-runtime-sources
2018-04-18 05:22:40 +03:00
Alexey Sedunov
3f147aabb0
Misc: Extract AbstractConfigureKotlinInTempDirTest superclass (181/AS32)
2018-04-17 20:38:00 +03:00
Alexey Sedunov
183559dcfa
Misc: Extract AbstractConfigureKotlinInTempDirTest superclass
...
This avoids duplicating runs of ConfigureKotlinInTempDirTest
2018-04-17 17:46:50 +03:00
Pavel V. Talanov
33a312c26d
Do not throw when trying to resolve java outside project model
...
#KT-23444 Fixed
#KT-22825 Fixed
2018-04-17 16:19:49 +02:00
Mikhail Zarechenskiy
4af8833f08
Render unwrapped suspend function in backend
...
Hierarchy of specially wrapped suspend function may have inconsistent
overridden descriptors: some of them may be wrapped, some unwrapped.
To mitigate this problem, currently it's proposed to render only
unwrapped functions, which are always have stable overridden descriptors
#KT-23809 Fixed
2018-04-17 16:24:13 +03:00
Mikhail Zarechenskiy
c216749eb6
[NI] Fix substitutor for anonymous types with captured type parameters
2018-04-17 16:06:55 +03:00
Juan Chen
b7fa06cca4
Add "Convert Java to Kotlin" to ProjectViewPopupMenu and
...
EditorTabPopupMenu.
2018-04-17 15:36:55 +03:00
Alexey Sedunov
01b0518a61
Gradle Support: Declare 'gradleFrameworkSupport' extension point
...
This fixes exception in the New Project wizard (IDEA 172)
#KT-23835 Fixed
2018-04-17 13:37:52 +03:00
Dmitry Petrov
d3a1d93460
Type translation, initial import
2018-04-17 10:35:52 +03:00
Dmitry Petrov
d1fe32a486
IrType: basic interface & implementation
2018-04-17 10:35:52 +03:00
Yan Zhulanow
b665a1b2b6
Android Extensions: Create application resource directories if missing (181, as31)
2018-04-16 20:42:58 +03:00
Mikhail Zarechenskiy
3318549622
[NI] Fix smartcasts computation for dot-qualifier expressions
2018-04-16 18:13:12 +03:00
Mikhail Glukhikh
55da251ffc
Resolve problem with too long command line path in Gradle Windows
2018-04-16 17:08:27 +03:00
Vyacheslav Gerasimov
8b5faca2d1
Delete obsolete update_dependencies.xml
2018-04-16 16:23:28 +03:00
Alexey Sedunov
e58f8763fe
Minor: Fix NPE in tests which doesn't use facets
2018-04-16 16:14:01 +03:00
Nikolay Krasko
9bce8759bb
Remove accidentally added *.173.as32 files
2018-04-16 15:55:53 +03:00
Nikolay Krasko
ecd2db3b48
Remove bunch files that are equal to base files
2018-04-16 15:55:53 +03:00
Vyacheslav Gerasimov
b06e644753
as32: Fix tests compilation for AS 3.2 C10
2018-04-16 15:48:12 +03:00
Zalim Bashorov
e1ba08e03d
[JS IR BE] add new items to whitelist and regenerate tests
2018-04-16 14:34:44 +03:00
Zalim Bashorov
ac42a0a23e
[JS IR BE] don't materialize Unit for toplevel expressions
2018-04-16 14:34:44 +03:00
Zalim Bashorov
8408bada76
[JS IR BE] basic support for the case when IrBlock is used as expression
...
In this case compiler generates comma separated expressions.
2018-04-16 14:34:43 +03:00
Zalim Bashorov
77ac0a5d95
[JS IR BE] use most of new intrinsics in IR -> IR
2018-04-16 14:34:43 +03:00
Zalim Bashorov
48219e4a9a
[JS IR BE] support new intrinsics in IR -> JS
2018-04-16 14:34:43 +03:00
Zalim Bashorov
76e102a2d2
[JS IR BE] declare more intrinsics
...
* jsGt
* jsGtEq
* jsLt
* jsLtEq
* jsUnaryPlus
* jsUnaryMinus
* jsPrefixInc
* jsPostfixInc
* jsPrefixDec
* jsPostfixDec
* jsAnd
* jsOr
* jsBitAnd
* jsBitOr
* jsBitXor
* jsBitNot
* jsBitShiftR
* jsBitShiftRU
* jsBitShiftL
* jsInstanceOf
2018-04-16 14:34:42 +03:00
Zalim Bashorov
2ed82f136c
[JS IR BE] move intrinsic for Object.create calls to JsIntrinsics
2018-04-16 14:34:42 +03:00
Zalim Bashorov
89aefb2e3f
[JS IR BE] add basic support for some binary and equality operations; add some intrinsic infrastructure
2018-04-16 14:34:41 +03:00
Zalim Bashorov
1f7d818307
[JS IR BE] use mapTo instead of map when translate call arguments
2018-04-16 14:34:41 +03:00
Zalim Bashorov
194f5d575a
[JS IR BE] use IrMemberAccessExpression.valueArgumentsCount instead of descriptor based IrFunctionSymbol.parameterCount and remove last one
2018-04-16 14:34:40 +03:00
Nikolay Krasko
1fb2b40684
Fix 182 branch after QueryExecutor and subclasses update
...
Parameter taking Processor<T> were replaced with Processor<? super T>.
https://github.com/JetBrains/intellij-community/commit/aaed1ccb910f6f4a9ea2f96894d99b6e35a59ef9
https://github.com/JetBrains/intellij-community/commit/c6b40a53ee5b2a0807c55adafb59edb453090915
Instead of updating all usages, use ExecutorProcessor to avoid
different source code for different IDEAs.
2018-04-14 15:29:38 +03:00
Vyacheslav Gerasimov
879c7f3837
as32: Revert KotlinCallerChooser to 173 state
2018-04-13 21:33:17 +03:00
Vyacheslav Gerasimov
16b314f860
as32: Remove JavaBuilderExtension from AS 3.2 C10
2018-04-13 21:33:16 +03:00
Vyacheslav Gerasimov
76cbdf08aa
as32: Update AndroidResourceReferenceAnnotator to AS 3.2 C10
2018-04-13 21:33:15 +03:00
Vyacheslav Gerasimov
8efee7bd9c
as32: Revert uast to the state of idea 173, AS 3.2 C10 has uast from idea 173
2018-04-13 21:33:15 +03:00
Vyacheslav Gerasimov
a6bd0f618e
as32: Remove platform-api & platform-impl from build scripts
...
since they are not present in AS 3.2 C10
2018-04-13 21:33:14 +03:00
Vyacheslav Gerasimov
00b5d5fa05
as32: Setup versions for AS 3.2 C10
2018-04-13 21:33:13 +03:00
Vyacheslav Gerasimov
4299455dc1
as32: Update to AS 3.2 C10
2018-04-13 21:33:03 +03:00
Vyacheslav Gerasimov
6fab21f916
Bunch: update bunch structure as32 <- 181
2018-04-13 20:55:37 +03:00
Alexey Sedunov
0647ffca36
MPP: Show error popups for module names in the New Kotlin/Multiplatform wizard
...
#KT-23261 Fixed
2018-04-13 20:23:08 +03:00
Alexey Sedunov
e51b6927b6
Refactor: Introduce JTextComponent.onTextChange() function
2018-04-13 20:23:07 +03:00
Alexey Sedunov
62f654b3d2
Introduce Variable: Avoid explicit types for expression of anonymous type
...
#KT-12078 Fixed
2018-04-13 20:23:07 +03:00
Alexey Sedunov
c7e72af170
Override/Implement Members: Copy @Experimental-annotated annotations
...
#KT-22922 Fixed
2018-04-13 20:23:06 +03:00
Alexey Sedunov
c1d8ba9c2b
Parameter Info: Do not render nullability annotations
...
#KT-23408 Fixed
2018-04-13 20:23:06 +03:00
Alexey Sedunov
e5b915661a
Rename: Do not suggest camel names for backquoted non-identifiers
...
#KT-22888 Fixed
2018-04-13 20:23:05 +03:00
Alexey Sedunov
ea66e1e3f7
Copy: Fix exception on copying KtFile to non-KtFile
...
#KT-22669 Fixed
2018-04-13 20:23:05 +03:00
Alexey Sedunov
bf106d01b8
Find Usages: Restrict search scope of private top-level declarations
...
#KT-7622 Fixed
2018-04-13 20:23:04 +03:00
Mikhail Glukhikh
c172810d1d
Simplify boolean with constants optimization: use partial analysis
2018-04-13 19:11:55 +03:00
Toshiaki Kameyama
90be6235f7
Expand Selection on opening curly brace should select the entire block right away #KT-18769 Fixed
2018-04-13 13:23:42 +03:00