Alexey Sedunov
49da81f681
Analyze Data Flow: Support val/var parameters
...
#KT-11994 In Progress
2017-06-09 17:19:20 +03:00
Alexey Sedunov
ea7d535ae7
Analyze Data Flow: Support properties with custom accessors
...
#KT-11994 In Progress
2017-06-09 17:19:20 +03:00
Alexey Sedunov
d61ddaccb6
Analyze Data Flow: Support callable references
...
#KT-11994 In Progress
2017-06-09 17:19:18 +03:00
Alexey Sedunov
3f411fc93b
Analyze Data Flow: Support lambdas/anonymous functions
...
#KT-11994 In Progress
2017-06-09 17:19:18 +03:00
Alexey Sedunov
0f44dd6ab0
Analyze Data Flow: Support dereference processing
...
#KT-11994 In Progress
2017-06-09 17:19:16 +03:00
Alexey Sedunov
858b454138
Analyze Data Flow: Initial implementation
...
#KT-11994 In Progress
2017-06-09 17:19:15 +03:00
Dmitry Neverov
3f104833ba
Handle multi-line spaces and leading asterisks more correctly
2017-06-09 17:14:28 +03:00
Sergey Igushkin
0453c4a7bf
Fix Android SDK licenses not being accepted in Kapt3AndroidIT
...
(cherry picked from commit 8084ac6)
2017-06-09 16:38:09 +03:00
Mikhail Glukhikh
630af6a9c6
Correct 1.1-specific test to fix 1.2-M1 build
2017-06-09 13:10:37 +03:00
Valentin Kipyatkov
ca7a0da10f
Fixed one more case of redundant type arguments
2017-06-08 23:26:39 +03:00
Valentin Kipyatkov
4b0cbc61d1
More correct
2017-06-08 23:26:38 +03:00
Valentin Kipyatkov
c08d862e9e
More correct algorithm for redundant type arguments detection
2017-06-08 23:26:38 +03:00
Valentin Kipyatkov
cfa442a42a
Move refactoring available on cut/paste declarations from an object to top-level
2017-06-08 23:26:12 +03:00
Dmitry Jemerov
b143b1be42
Revert tesdata changes to match changed code behavior
2017-06-08 19:48:12 +02:00
fitermay
4fab29b648
KT-18006 Don't cut off trailing new lines. Make behavior consistent with Java literal copy/paste
2017-06-08 19:48:12 +02:00
fitermay
a63d631435
KT-18006 Bring behavior of Kotlin literal copy/paste inline with Java's after IDEA-172984
2017-06-08 19:48:12 +02:00
Nikolay Krasko
ba34ed89d3
Allow to report exceptions in internal mode when updates are available
2017-06-08 17:21:13 +03:00
Toshiaki Kameyama
c149e956cc
Replace explicit parameter isn't shown on destructuring declaration
...
So #KT-17026 Fixed
2017-06-08 16:32:54 +03:00
Alexey Sedunov
e5717d3e96
Copy: Enable file copy for mixed Java-Kotlin case
...
Also merge CopyKotlinFileHandler with CopyKotlinDeclarationsHandler
as it currently can't be invoked for such cases
#KT-18200 Fixed
2017-06-08 14:37:37 +03:00
Alexey Sedunov
13212f06b4
Copy/Move: Fix processing of imported Java static members
...
#KT-18098 Fixed
2017-06-08 14:37:37 +03:00
Alexey Sedunov
a0629bfc58
Rename: Fix rename of import alias referring to object member
...
#KT-18096 Fixed
2017-06-08 14:37:35 +03:00
Alexey Sedunov
1ded171720
Rename: Disable member inplace when variable inplace is available
2017-06-08 14:37:34 +03:00
Alexey Sedunov
69c315443a
Rename: Disable label rename outside of reference range
...
#KT-17128 Fixed
2017-06-08 14:37:34 +03:00
Alexey Sedunov
566e701131
Rename: Disable Java member rename by reference to import alias
...
#KT-18076 Fixed
2017-06-08 14:37:32 +03:00
Alexey Sedunov
9c11c42ec2
Rename: Fix inplace refactoring for declarations with backticked names
...
#KT-15859 Fixed
2017-06-08 14:37:31 +03:00
Alexey Sedunov
2f88b6ef9b
Copy: Rename only self-usages of the copied class
...
#KT-18034 Fixed
2017-06-08 14:37:30 +03:00
Alexey Andreev
4252d9786b
Fix translation of interface with non-abstract methods in JS BE
...
Fix additional case of generic interfaces in KT-18187
2017-06-08 13:51:18 +03:00
Alexander Udalov
09e4775a10
REPL: display configuration-related messages after start
...
Previously these messages (e.g. non-existing jar path in classpath,
invalid language version, etc.) were shown after the user exited from
the REPL
2017-06-08 12:28:07 +03:00
Alexander Udalov
cbb6269391
REPL: do not report warnings when there are errors
...
#KT-18349 Fixed
2017-06-08 12:28:06 +03:00
Alexander Udalov
ed922deb93
REPL: do not output additional newline after compiler and runtime errors
2017-06-08 12:28:05 +03:00
Alexander Udalov
bd9dd90649
REPL: print newline before exit
...
No tests added because the only way to test this seems to be to launch a
new process and send "Ctrl+D" into it, which seems cumbersome for such
small change
2017-06-08 12:28:04 +03:00
Alexander Udalov
6f22baa0f6
REPL: improve "are all errors at EOF" detection
...
Also ignore whitespaces and comments that appear after the last error in
a REPL line
#KT-15172 Fixed
2017-06-08 12:26:54 +03:00
Dmitry Jemerov
2326b5faf3
Update testdata according to behavior changes
2017-06-08 10:43:19 +02:00
Toshiaki Kameyama
d90cc6f4cf
Intention Make private and friends should respect modifier order #KT-17823 Fixed
2017-06-08 10:41:07 +02:00
Mikhael Bogdanov
5dfe77b7c3
Fix array element processing
2017-06-08 09:23:50 +02:00
Mikhael Bogdanov
5bba5b2fb7
Bind annotation methods via primary constructor
2017-06-08 09:23:45 +02:00
Mikhael Bogdanov
514d25bdd4
Fix FAKE_OVERRIDE processing
2017-06-08 09:23:39 +02:00
imknown J. Kimu
317e24ce69
Fix Git CLI typo. ( #1119 )
...
No soft-wrapped words.
2017-06-08 08:28:06 +02:00
Simon Ogorodnik
a6e153312c
Prevent early deleting of not-null assertions
...
Before val to var conversion applied, smart-cast can cause
dropping not-null assertion, which will be required when val will
become var
2017-06-07 21:21:37 +03:00
Simon Ogorodnik
e41c027c9a
Add IDEA data-flow analysis to guess nullability
...
Add "if return..." folding to "return if"
2017-06-07 21:21:36 +03:00
Simon Ogorodnik
1f26353de4
Add measureTimeMillisWithResult function to addToStdlib
2017-06-07 21:21:34 +03:00
Simon Ogorodnik
682a278cb8
Fix deleting of semicolon when it required to mark statement empty
...
#KT-18142 fixed
#KT-18141 fixed
2017-06-07 21:08:08 +03:00
Dmitry Jemerov
558203e2bb
Rename "Remove no constructor" to "Remove constructor call"; fix test
2017-06-07 19:49:45 +02:00
Toshiaki Kameyama
bb5681fdb5
Add quick-fix for NO_CONSTRUCTOR error #KT-17842 Fixed
2017-06-07 19:47:36 +02:00
Ilya Zorin
862631b2ec
Handle spaces around dot in type references and before type argument list
2017-06-07 19:43:14 +02:00
Andrius Semionovas
4acb95acb5
Fix KT-16725; Remove spaces between array indices
2017-06-07 19:39:55 +02:00
Zoltan Polgar
46ce9a6946
JS: Avoid declaration skeleton body generation in case of external class or object
2017-06-07 19:22:24 +02:00
Alexander Udalov
15e392bbd1
Fix compilation on Windows
...
JDK_16 environment variable may have spaces in it ("C:\Program
Files\..."), so it should be passed as a separate argument explicitly to
the kotlinc ant task
2017-06-07 16:26:09 +03:00
Alexander Udalov
c851e9d206
CLI: use JDK 1.6 to compile the "kotlin" launcher script
...
"kotlin" is used to run programs compiled by "kotlinc" which supports
emitting JVM bytecode 1.6, so it should also be runnable on JDK 1.6
2017-06-07 14:57:44 +03:00
Alexander Udalov
96bd8cb3c2
Minor, move PluginCliParser and PluginURLClassLoader to subpackage
2017-06-07 14:56:58 +03:00