Nikolay Krasko
dbe32b98ef
Filter also by kind to avoid getting enum descriptors from compiled code
2016-12-01 14:33:37 +03:00
Nikolay Krasko
6a9c368532
Auto-import does not suggest enum constant (KT-14100)
...
#KT-14100 Fixed
(cherry picked from commit 61730ee)
2016-12-01 14:33:37 +03:00
Denis Zharkov
cbebb06574
Do not return star-projections during approximation
...
See comment in test for clarification
#KT-14453 Fixed
2016-12-01 13:39:38 +03:00
Denis Zharkov
b8e1ce7a05
Report error on non-tail suspend-calls
...
It only concerns calls inside another suspend function
#KT-14924 In Progress
2016-12-01 10:11:37 +03:00
Denis Zharkov
aa50f1d824
Report error when suspend call is illegal in the scope
...
Namely when it's not contained inside coroutine or another suspend function
#KT-14924 In Progress
2016-12-01 10:11:37 +03:00
Mikhail Zarechenskiy
240d82d167
Move reified type parameter checker to additional checkers to able turn it off by demand
2016-12-01 10:06:38 +03:00
Ilya Gorbunov
dc57d69085
Improve onEach templates.
...
Add new functions to reference API.
Add tests for onEach
#KT-8220
2016-11-30 16:46:56 +03:00
Christian
5bde230d4a
Add onEach template. #KT-8220
2016-11-30 16:46:26 +03:00
Ilya Gorbunov
65a7410eca
Allow receiver to be generic type constrained by SELF. Receiver itself now can be referenced with RECEIVER.
2016-11-30 16:46:26 +03:00
Ilya Chernikov
5a25bd5e2d
Fix script configuration manager startup, fixes #EA-86126
2016-11-30 13:09:22 +01:00
Ilya Chernikov
4e6e3a3403
Check for script file validity on cache changes, fixes #EA-90318, #EA-87672
2016-11-30 13:09:21 +01:00
Ilya Chernikov
0e7413b5b1
Generalizing error handling when working with (potentially 3rd-party) script templates, fixing #EA-91412 and alike
2016-11-30 13:09:20 +01:00
Ilya Chernikov
c51da7d8c1
Refactor daemon sessions container, attempt to fix #EA-87285 and alike
2016-11-30 13:09:19 +01:00
Ilya Chernikov
014e43e50a
Generalize error processing on daemon connection, attempt to fix #EA-82064 again
2016-11-30 13:09:18 +01:00
Ilya Chernikov
c88b11aa27
Generalize error processing in retrieving gradle settings, fixes #EA-87096, #EA-87129, #EA-87275 and alike
2016-11-30 13:09:17 +01:00
Alexey Sedunov
313d838f1b
Unused Symbol Inspection: Fix exception on deleting unused declaration in IDEA 2016.3
2016-11-30 14:35:41 +03:00
Alexey Sedunov
1bde0e12fd
Rename: Fix exceptions on moving file with facade class to another package
...
#KT-14325 Fixed
2016-11-30 14:35:40 +03:00
Alexey Sedunov
cedbac6b43
Safe Delete: Fix exception on deleting Java class used in Kotlin import directive(s)
...
#KT-14596 Fixed
2016-11-30 14:35:39 +03:00
Alexey Sedunov
465138cfa1
Initialize with Constructor Parameter Intention: Fix IDE freeze on properties in generic class
...
#KT-14459 Fixed
2016-11-30 14:35:38 +03:00
Alexey Sedunov
b29c704a92
Rename: Do not report redeclaration conflict for private top-level declarations located in different files
...
#KT-14361 Fixed
2016-11-30 14:35:37 +03:00
Alexey Sedunov
a2d3592228
Project Settings: Expose language version setting in IntelliJ IDEA plugin compiler configuration UI
...
#KT-12410 Fixed
2016-11-30 14:35:36 +03:00
Alexey Sedunov
21c6e97731
Project Settings: Expose JVM target setting in IntelliJ IDEA plugin compiler configuration UI
...
#KT-13811 Fixed
2016-11-30 14:35:35 +03:00
Alexey Sedunov
740f769487
Rename: Fix renaming of .kts file to .kt and vice versa
...
#KT-14814 Fixed
2016-11-30 14:35:34 +03:00
Alexey Sedunov
ddb5308993
Extract Interface: Fix NPE on dialog opening
...
#KT-14854 Fixed
2016-11-30 14:35:34 +03:00
Alexey Sedunov
24035d2c83
Introduce Type Alias: Forbid nested/local type aliases
2016-11-30 14:35:33 +03:00
Alexey Sedunov
752ae87591
Introduce Type Alias: Support callable references/class literals
...
#KT-14861 Fixed
2016-11-30 14:35:32 +03:00
Alexey Sedunov
9967d4c4e2
Move: Fix EA-1266148
2016-11-30 14:35:31 +03:00
Alexey Sedunov
0f58e2eef2
Introduce Type Alias: Replace type usages in constructor calls. Do not replace usages of existing type aliases
...
#KT-14685 Fixed
2016-11-30 14:35:30 +03:00
Alexey Sedunov
7a38dfadba
Introduce Type Alias: Fix NPE during dialog repaint
...
#KT-14696 Fixed
2016-11-30 14:35:29 +03:00
Alexey Sedunov
939532b6f3
Introduce Type Alias: Do not suggest type qualifiers
...
#KT-14693 Fixed
2016-11-30 14:35:28 +03:00
Alexey Sedunov
9a4fa3a871
Presentation: Add icons for type aliases
2016-11-30 14:35:27 +03:00
Natalia Ukhorskaya
01d4ec4187
Debugger: ability to set breakpoint to lambda in return statement (KT-14615)
...
#KT-14615 Fixed
2016-11-30 13:56:29 +03:00
Nikolay Krasko
730e561177
Navigation to inline functions doesn't work for thread dump captured using "Get thread dump" (KT-14916)
...
#KT-14916 Fixed
2016-11-30 13:53:12 +03:00
Ilya Gorbunov
21fba92c93
Annotate new number parsing functions with SinceKotlin.
...
#KT-8286, #KT-7930
2016-11-30 02:33:51 +03:00
Ilya Gorbunov
9b421eb7a4
Throw IllegalArgumentException instead of NumberFormatException on incorrect radix.
2016-11-30 02:20:33 +03:00
Ilya Gorbunov
3c80a7056a
Refactor local test dsl.
...
Add several cases and arabic digits conversion test.
2016-11-30 02:19:43 +03:00
Ilya Gorbunov
1b9dfffc13
Minor: normalize casing of Test annotation
2016-11-30 02:19:40 +03:00
Ilya Gorbunov
410e85ef79
Minor: extract a couple of platform-specific functions.
2016-11-30 02:19:38 +03:00
Ilya Gorbunov
4d6c5bcdcf
Split API to separate overloads with radix parameter and without.
...
Remove unused radix parameter from toFloat and toDouble.
Update public API dump.
#KT-8286, #KT-7930
2016-11-30 02:19:36 +03:00
Ilya Gorbunov
ce50c7f13d
Fix in test to deal with java 6 not accepting leading plus.
2016-11-30 02:19:33 +03:00
voddan
a8bd174cd0
Added tests for parsing with radix.
...
#KT-8286
2016-11-30 02:19:31 +03:00
voddan
0a939a647f
Added optional radix parameter to string-parsing functions: String.toInt, String.toIntOrNull etc.
...
#KT-8286
2016-11-30 02:19:29 +03:00
voddan
87d010e038
Introduce local dsl for number parsing tests, improve test coverage.
...
#KT-7930
2016-11-30 02:19:27 +03:00
voddan
ce9c981e26
Implemented String.toIntOrNull , String.toLongOrNull.
...
Rewrote `String.toShortOrNull` and `String.toByteOrNull` by delegating to `String.toIntOrNull`.
Added a regEx check into `String.toDoubleOrNull` to prevent throwing exceptions mostly.
#KT-7930
2016-11-30 02:19:26 +03:00
voddan
3d050322e0
Added String.toIntOrNull, etc
...
#KT-7930
2016-11-30 02:17:35 +03:00
voddan
fb51d21888
Extracted string-parsing extensions and their tests into separate files.
2016-11-30 02:17:35 +03:00
Denis Zharkov
fcd9ee037e
Support coroutines stack-unwinding in JVM backend
...
#KT-14924 In Progress
2016-11-29 14:14:50 +03:00
Denis Zharkov
27e4caf046
Temporary disable coroutine tests in JS backend
...
#KT-14924 In Progress
2016-11-29 14:14:50 +03:00
Denis Zharkov
1f98accad2
Support new suspend convention in JVM backend partially
...
Stack-unwinding does not work yet
#KT-14924 In Progress
2016-11-29 14:14:50 +03:00
Denis Zharkov
2c3b0aeddb
Add 'suspendWithCurrentContinuation' and 'Suspend' object in built-ins
...
They are part of the new suspension convention, relevant
support in backends will be added in later commits
#KT-14924 In Progress
2016-11-29 14:14:50 +03:00