Nikolay Krasko
d13c34200b
Remove method deprecated in 171 and explicitly set mainClass before calling toCommandLine()
2017-01-24 16:43:22 +03:00
Mikhail Glukhikh
fb913bc071
Operator to function: mod --> rem, modAssign --> remAssign #KT-15874 Fixed
2017-01-24 15:19:36 +03:00
Mikhail Glukhikh
bfb31a465f
Quick-fix to add 'suspend' to the containing function #KT-15800 Fixed
2017-01-24 15:17:55 +03:00
mglukhikh
96cddb6b7b
False positive in "Remove redundant let" fixed #KT-15884 Fixed
2017-01-24 15:17:48 +03:00
mglukhikh
be75ef919e
Change visibility modifier: now works on no-modifier type aliases #KT-15066 Fixed
2017-01-24 15:17:41 +03:00
shiraji
d9ec8a92f2
KT-15553 Support compile constant for "Copy concatenation text to clipboard"
...
#KT-15553 Fixed
2017-01-24 14:33:52 +03:00
Kirill Rakhman
909007d984
Add inspection for private primary constructors in data classes
...
Fixes #KT-15709
2017-01-24 14:08:05 +03:00
mglukhikh
f64345634b
WHEN_ENUM_CAN_BE_NULL_IN_JAVA is no more reported after smart cast to not-null #KT-15201 Fixed
2017-01-24 13:51:15 +03:00
mglukhikh
b53ebd115b
Pattern matching: work-around for smart cast target type instability #KT-14705 Fixed
2017-01-24 13:51:14 +03:00
Alexey Sedunov
c264de5795
Project Settings: Expose API version setting in Kotlin compiler configuration UI
2017-01-23 15:16:14 +03:00
Alexey Sedunov
7b12a66b21
Kotlin Facet: Warn about libraries configured for non-current platform
...
#KT-15628 Fixed
2017-01-23 15:16:11 +03:00
Alexey Sedunov
597068a704
Kotlin Facet: Import API version from Maven
...
#KT-15772 Fixed
2017-01-23 15:16:10 +03:00
Alexey Sedunov
fc9b001ccd
Kotlin Facet: Use project settings by default
...
#KT-15624 Fixed
2017-01-23 15:16:09 +03:00
Alexey Sedunov
b35eba0621
Kotlin Facet: Annotate CompilerSettings properties with @JvmField to make them available for copyBean()
...
#KT-15621 Fixed
#KT-15623 Fixed
2017-01-23 15:16:08 +03:00
Zalim Bashorov
cd04e794ee
KJS: class MathClass -> object Math
2017-01-23 14:14:13 +03:00
Zalim Bashorov
cb210b6c78
KJS: fix stub consistency test which was broken after JsonClass was renamed and transformed to object
...
`kotlin.js.Console` is used instead of `kotlin.js.JSON` to avoid problems on case-sensitive filesystems since right now we also have `kotlin.js.Json` (will be removed later)
2017-01-23 14:13:58 +03:00
Mikhail Glukhikh
1f573bb115
EA-92388: Fix of exception in import action creation
2017-01-20 17:39:14 +03:00
Ilya Gorbunov
3ec48ab244
Add kotlin.comparisons package to default imports.
2017-01-19 18:21:14 +03:00
shiraji
ad9bf1626f
Fix the problem with ConvertPrimaryConstructorToSecondaryIntention for enum #KT-15406 Fixed
2017-01-19 17:57:33 +03:00
Mikhael Bogdanov
e1bec0df2e
Proper generate interval for catch block variable; Fix for KT-15646: InconsistentDebugInfoException when stepping over throw
...
#KT-15646 Fixed
2017-01-19 09:33:10 +01:00
Dmitry Petrov
b9f9894310
KT-15677 KT-15775
...
Update parser & descriptor renderer to handle parenthesized types and function types properly.
Resolve annotations in parenthesized types.
AnnotationsImpl.isEmpty() returned false for targeted annotations only
(e.g., 'fun @receiver:Ann C?.foo()').
Properly keep track of targeted annotations.
2017-01-19 09:53:17 +03:00
Nikolay Krasko
ffc1624484
Stop using idea isNullOrEmpty function (KT-15786)
...
#KT-15786 Fixed
2017-01-18 18:36:19 +03:00
Zalim Bashorov
6ea6e4ab98
KJS: move println to kotlin.io; import kotlin.io by default in Default platform
2017-01-18 14:25:36 +03:00
Mikhael Bogdanov
7a27a9d51f
Propagate 'CompilerConfiguration' to frontend checkers
2017-01-18 10:23:40 +01:00
Alexey Sedunov
75e76dda54
Kotlin Facet: Do not reset configuration if "Use project settings" is switched on
...
#KT-15735 Fixed
2017-01-16 18:27:30 +03:00
Alexey Sedunov
aeb6af546f
Kotlin Facet: Switch off "Use project settings" on Maven/Gradle import
...
#KT-15682 Fixed
2017-01-16 18:27:29 +03:00
mglukhikh
93b2c56bb4
Fixed KNPE in convert primary constructor to secondary #KT-14745 Fixed
2017-01-16 17:35:51 +03:00
Dmitry Petrov
954204da82
KT-1560
...
Report warning on extensions shadowed by members.
2017-01-16 17:25:13 +03:00
Nikolay Krasko
ded7d5911b
Fix tests
...
Addition to 5d08e82aaf
2017-01-16 16:05:02 +03:00
Nikolay Krasko
ea7fac07c4
Ban import member intentions from import directives (KT-13710)
...
#KT-13710 Fixed
2017-01-16 13:00:50 +03:00
Nikolay Krasko
5d08e82aaf
Fix look up for breakpoint in crossinline lambdas in android (KT-15282)
...
#KT-15282 Fixed
2017-01-16 13:00:46 +03:00
Mikhail Glukhikh
b94c62649a
Create header implementation: select among modules only with configured source roots #KT-15641 Fixed
2017-01-16 11:31:07 +03:00
Ilya Gorbunov
07e529c8ec
Fix completion test: expected appearance of 'takeIf' and 'also'
2017-01-16 09:32:17 +03:00
Yan Zhulanow
c136498cc0
Minor: Add uast-kotlin to 'idea' module classpath (fix failing Lint tests)
2017-01-15 22:11:10 +09:00
Denis Zharkov
f611e39a69
Fix return keyword completetion tests
...
Now suspendOrReturn is toplevel, so we should explicitly choose "return" item
2017-01-14 13:24:53 +03:00
Mikhael Bogdanov
bbf61664ea
Test fix
2017-01-13 14:30:01 +01:00
Mikhael Bogdanov
b6bf53f96f
Revert ' Temporary remove JVM_1_8 target from facet settings'
2017-01-13 13:52:54 +01:00
Alexey Sedunov
a9645e1ae9
Extract Superclass: Drop inapplicable modifiers when converting property-parameter to ordinary parameter
...
#KT-15674 Fixed
2017-01-13 15:17:45 +03:00
Alexey Sedunov
ea7bf6b7c1
Extract Interface: Red-highlight members inherited from a super-interface when that interface reference itself is not extracted
...
#KT-15598 Fixed
2017-01-13 15:17:44 +03:00
Alexey Sedunov
57d364e7d4
Extract Superclass/Interface: Fix bogus visibility warning inside a member when it's being moved as abstract
...
#KT-15635 Fixed
2017-01-13 15:17:43 +03:00
Alexey Sedunov
65b9049d59
Extract Interface/Pull Up: Warn about private members with usages in the original class
...
#KT-15606 Fixed
2017-01-13 15:17:42 +03:00
Alexey Sedunov
1c16d2af1a
Extract Superclass/Interface/Pull Up: Reformat modifier lists of generated declarations (to add spaces where needed)
...
#KT-15639 Fixed
2017-01-13 15:17:41 +03:00
Alexey Sedunov
e10b50a648
Extract Interface/Pull Up: Drop 'final' modifier when moving to an interface
...
#KT-15640 Fixed
2017-01-13 15:17:39 +03:00
Alexey Sedunov
66f1925f16
Extract Interface/Pull Up: Disable internal/protected members when moving to an interface
...
#KT-15607 Fixed
2017-01-13 15:17:38 +03:00
Alexey Sedunov
c9781f5014
Extract Interface/Pull Up: Disable "Make abstract" and assume it to be true for primary constructor parameter when moving to an interface
...
#KT-15643 Fixed
2017-01-13 15:17:37 +03:00
Alexey Sedunov
52e9117e9d
Extract Superclass/Interface: Allow extracting class with special name (and quotes)
...
#KT-15353 Fixed
2017-01-13 15:17:37 +03:00
Alexey Sedunov
5de4e9fdac
Pull Up/Extract Interface: Disable "Make abstract" and assume it to be true for abstract members of an interface
...
#KT-15355 Fixed
2017-01-13 15:17:36 +03:00
Alexey Sedunov
8c882f0d27
Override Members: Allow overriding virtual synthetic members (e.g. equals(), hashCode(), toString(), etc.) in data classes
...
#KT-15563 Fixed
2017-01-13 15:17:35 +03:00
Alexey Sedunov
862966fd33
Override/Implement Members: Support all nullability annotations respected by the Kotlin compiler
...
#KT-12704 Fixed
#KT-15583 Fixed
2017-01-13 15:17:34 +03:00
Alexey Sedunov
d94243ac7b
Extract Interface: Disable inline/external/lateinit members
2017-01-13 15:17:33 +03:00