Valentin Kipyatkov
b201e60081
ConvertReceiverToParameterIntention - no i18n
2015-04-16 22:00:53 +03:00
Valentin Kipyatkov
24203a8a31
ConvertPropertyToFunctionIntention - no i18n + a bit better range
2015-04-16 22:00:52 +03:00
Valentin Kipyatkov
0698bb3866
ConvertParameterToReceiverIntention - made available on parameter name only + minor
2015-04-16 22:00:52 +03:00
Valentin Kipyatkov
960a45e4cc
Code simplifications
2015-04-16 22:00:52 +03:00
Valentin Kipyatkov
ff44f1fa32
ConvertFunctionToPropertyIntention minor code improvements + to work in the end of name
2015-04-16 22:00:52 +03:00
Valentin Kipyatkov
636f80ee48
ConvertAssertToIfWithThrowIntention: smaller availability range + minor code refactorings
2015-04-16 22:00:52 +03:00
Valentin Kipyatkov
1268684ced
Smaller availability range for RemoveBracesIntention + refactored it and AddBracesIntention
2015-04-16 22:00:52 +03:00
Valentin Kipyatkov
dc6c6f13d5
OperatorToFunctionIntention and SwapBinaryExpressionIntention: more narrow availability range + no i18n
2015-04-16 22:00:52 +03:00
Valentin Kipyatkov
00a4beae1d
Refactoring of JetSelfTargetingInspection
2015-04-16 22:00:51 +03:00
Valentin Kipyatkov
894bf000e1
JetSelfTargetingInspection - deprecated i18n usage
2015-04-16 22:00:51 +03:00
Alexey Tsvetkov
8c01298930
JS: generated tests
2015-04-16 21:17:12 +03:00
Alexey Tsvetkov
ff5090136c
JS: do not extract expressions, when inline call can be expression
2015-04-16 21:17:12 +03:00
Alexey Tsvetkov
bf5300a849
JS: fixed tryCatchFinally test because of KT-7328 bug
2015-04-16 21:17:12 +03:00
Alexey Tsvetkov
78a6b95f5a
JS: added test case, where inline call in "for" is used
2015-04-16 21:17:12 +03:00
Alexey Tsvetkov
27a1861263
JS: lambda constructor cannot have sideEffect
2015-04-16 21:17:12 +03:00
Alexey Tsvetkov
97a1a13235
JS: inline componentN functions
...
#KT-7294 fixed
2015-04-16 21:17:12 +03:00
Alexey Tsvetkov
a9d38e8d22
JS: decomposition of vars
2015-04-16 21:17:11 +03:00
Alexey Tsvetkov
e80059e4a2
JS: decomposition of "while" and "do while"
2015-04-16 21:17:11 +03:00
Alexey Tsvetkov
71ea487828
JS: decomposition of "if"
2015-04-16 21:17:11 +03:00
Alexey Tsvetkov
c0111d6e33
JS: decomposition of binary operator
...
#KT-6437 fixed
#KT-7359 fixed
2015-04-16 21:17:11 +03:00
Alexey Tsvetkov
fd844ad6e3
JS: decomposition of ternary operator
2015-04-16 21:17:11 +03:00
Alexey Tsvetkov
3782b9d382
JS: decomposition of array access
2015-04-16 21:17:11 +03:00
Alexey Tsvetkov
8b68f6d9ab
JS: decomposition of array literal
2015-04-16 21:17:11 +03:00
Alexey Tsvetkov
92942fd1c5
JS: decomposition of invocation/"new"
2015-04-16 21:17:11 +03:00
Alexey Tsvetkov
b7e26c3bf7
JS: extract expressions preceding inline call
2015-04-16 21:17:11 +03:00
Alexey Tsvetkov
f900cb36c5
JS: added inline evaluation order tests generation
2015-04-16 21:17:10 +03:00
Alexey Tsvetkov
616872558c
Minor in JS: made JsNew qualifier mutable
2015-04-16 21:17:10 +03:00
Alexey Tsvetkov
5eadac9750
Minor in JS: use acceptStatement where appropriate
2015-04-16 21:17:10 +03:00
Alexey Tsvetkov
fafd4ef805
Minor in JS: deleted unused function
2015-04-16 21:17:10 +03:00
Alexey Tsvetkov
a356847006
JS: added @NotNull annotation to JsVisitorWithContext
2015-04-16 21:17:10 +03:00
Alexey Tsvetkov
be5e73a5bc
JS: make qualifier mutable
2015-04-16 21:17:10 +03:00
Alexey Tsvetkov
6ff4785cb0
JS: turn off inline call extraction at translation
2015-04-16 21:17:10 +03:00
Alexey Tsvetkov
24aa19bd49
JS: fixed nullability issues after conversion
2015-04-16 21:17:10 +03:00
Alexey Tsvetkov
1f705eb77a
JS: converted JsVisitor to Kotlin
2015-04-16 21:17:10 +03:00
Alexey Tsvetkov
cd92e2de73
JS: changed file extension JsVisitor(.java->.kt)
2015-04-16 21:17:09 +03:00
Alexey Tsvetkov
05c44db80f
JS: inline all calls in a statement in one pass
2015-04-16 21:17:09 +03:00
Alexey Tsvetkov
c8453ec0d9
JS: removed unused JsContext methods
2015-04-16 21:17:09 +03:00
Alexey Tsvetkov
add0aca746
JS: removed StatementContext, InsertionPoint
2015-04-16 21:17:09 +03:00
Alexey Tsvetkov
e94c79f838
JS: added type parameter to JsContext
2015-04-16 21:17:09 +03:00
Alexey Tsvetkov
efba2a2372
JS: make JsEmpty singleton
2015-04-16 21:17:09 +03:00
Alexey Tsvetkov
dd13e91883
JS: converted JsEmpty to kotlin
2015-04-16 21:17:09 +03:00
Alexey Tsvetkov
ba1eb5f848
JS: changed extension JsEmpty.java->.kt
2015-04-16 21:17:09 +03:00
Svetlana Isakova
d40fd440b0
KT-7433 Type inference pushes Unit inside generic function with lower bound constraint
...
#KT-7433 Fixed
#KT-7351 Fixed
2015-04-16 21:02:42 +03:00
Mikhail Glukhikh
a37ae6ba6d
Test fixed accordingly with KT-3175
2015-04-16 20:48:48 +03:00
Mikhail Glukhikh
109e0abb6d
Review fixes for mutable variable smart casting (mostly refactoring).
...
DataFlowValue.isPredictable() introduced instead of isStableIdentifier().
Parenthesized assignments are treated correctly.
2015-04-16 20:11:03 +03:00
Mikhail Glukhikh
e97e792674
Review fixes for smart casts in / out loops.
...
LoopTypeInfo became TypeInfoWithJumpInfo rewritten in Kotlin.
Fixed a bug with break inside Elvis inside a loop, a pack of related tests added.
isTrueConstant moved to JetPsiUtil.
2015-04-16 20:11:01 +03:00
Mikhail Glukhikh
d5aed62410
Smart casts for local variables not captured in a closure and not changed in a loop, see #KT-3175.
...
isLocalVariable added. Assignment / initialization analysis.
Control whether a variable is changed in a loop at the beginning and at the end of the loop.
Control whether a variable is captured in a closure. #KT-3175 Fixed. #KT-2266 Fixed.
Tests for variable null safety and for variables is/as operations.
Loop / closure / variable property tests are included.
Old tests changed in accordance with KT-3175. In particular, all three of testSmartcastImpossible were fixed.
2015-04-16 20:10:58 +03:00
Mikhail Glukhikh
e4b1046a54
Minor bug fix: necessary !! added
2015-04-16 20:10:56 +03:00
Pavel V. Talanov
a21abeba33
Fix kotlin-gradle-plugin to correctly process java source files
...
Do not remove outdirectory from cp in maven: this is needed for gradle-plugin build to see files compiled by gmaven
this may cause problems with running mvn install without clean for kotlin
Remove special magic with groovy-output in gradle-plugin pom.xml
2015-04-16 16:40:55 +03:00
Pavel V. Talanov
3329136c9c
Fix test data for quickfix tests
...
Depending on Module and ModuleBuilder from runtime
2015-04-16 16:40:44 +03:00