Mikhail Glukhikh
d194af5c4e
Correct report of NO_VALUE_FOR_PARAMETER when function call contains no brackets and lambda at the end #KT-7813 Fixed
2016-02-01 17:11:54 +03:00
Mikhail Glukhikh
84100abd9e
Annotations on object literals are now correctly resolved #KT-9320 Fixed
2016-02-01 16:24:57 +03:00
Yan Zhulanow
a041414f35
Kapt: compile kotlinAfterJava without Jdk as well in Android projects (KT-10854)
2016-02-01 14:33:02 +03:00
Denis Zharkov
e5f644a64a
Temporary disable warning about unchecked reified argument
...
#KT-10847 Fixed
#KT-6484 Reopened
2016-02-01 13:36:38 +03:00
Alexey Sedunov
b0c808082f
Pull Members Up: Skip visibility checking between members to move
2016-02-01 13:18:47 +03:00
Alexey Sedunov
f9632c1ad6
Pull Members Up: Use light field if property doesnt't have light methods
...
#KT-10552 Fixed
2016-02-01 13:18:46 +03:00
Alexey Sedunov
e386a6b0e9
Go to Test Action: Make available in the entire class text range
...
#KT-10757 Fixed
2016-02-01 13:18:45 +03:00
Alexey Sedunov
3e2036b6ec
Convert Member to Extension Intention: Drop open/final modifiers, add imports when necessary, transform Java-site calls
...
#KT-8876 Fixed
2016-02-01 13:18:44 +03:00
Alexey Sedunov
99e4c8c06d
Create from Usage: Add commas after enum entries
...
#KT-10800 Fixed
2016-02-01 13:18:43 +03:00
Alexey Sedunov
26c47cda47
Convert Object Literal to Lambda Intention: Move lambda out of parentheses when possible. Fix after-template
...
#KT-10778 Fixed
2016-02-01 13:18:41 +03:00
Alexey Sedunov
1c65797950
Intentions: Fix contentRange() on empty KtBlockExpression
...
#KT-10776 Fixed
2016-02-01 13:18:40 +03:00
Alexey Sedunov
c5b1d205a2
Initialize Property with Constructor Parameter Quick-Fix: Skip secondary constructors with this-delegation. Use containing class as a Change Signature context
...
#KT-10818 Fixed
2016-02-01 13:18:39 +03:00
Alexey Sedunov
fcbb18d876
Generate equals()/hashCode(): Forbid in interfaces
...
#KT-10815 Fixed
2016-02-01 13:18:38 +03:00
Alexey Sedunov
58963f7053
Move: Improved file chooser with search
...
#KT-9752 Fixed
2016-02-01 13:18:37 +03:00
Alexey Sedunov
625bfe12eb
Move: Do not create target directory outside of write-action
2016-02-01 13:18:36 +03:00
Alexey Sedunov
222dfd265b
Move: Forbid target annotation classes in class chooser
2016-02-01 13:18:35 +03:00
Alexey Sedunov
8e18bf647e
Move: Fix refactoring command name
2016-02-01 13:18:34 +03:00
Alexey Sedunov
a05a16c1e6
Move: Fix name lengthening when moving from default package
...
#KT-10696 Fixed
2016-02-01 13:18:33 +03:00
Alexey Sedunov
d92bfd20d7
Move Class To Upper Level: Fix file name validation
2016-02-01 13:18:31 +03:00
Ilya Gorbunov
4f1418bb72
Verify index expectations for reduceIndexed/reduceRightIndexed
2016-01-31 02:45:05 +03:00
Ilya Gorbunov
1357c77d0b
Minor: verify exception type of failed fold/reduce
2016-01-31 02:45:04 +03:00
Gabriel Borges
d58efff974
Add foldIndexed and reduceIndexed groups of functions
...
- foldIndexed, foldRightIndexed, reduceIndexed and reduceRightIndexed have been added, in line with filterIndexed etc.;
- Test cases added appropriately for the new functions.
2016-01-31 02:45:02 +03:00
Dmitry Petrov
b3f390abe5
Fix KT-10775 Empty when causes compilation exception.
...
Expression type for an empty 'when' is 'kotlin.Unit'.
2016-01-29 18:50:48 +03:00
Mikhail Glukhikh
dcc6262f47
Regression test #KT-7804 Obsolete
2016-01-29 17:23:40 +03:00
Denis Zharkov
505dc61611
Treat extension receiver as noinline parameter
...
#KT-9574 Fixed
2016-01-29 14:36:53 +03:00
Denis Zharkov
2cd88b8cbc
Make crossinline and noinline incompatible
2016-01-29 14:36:53 +03:00
Denis Zharkov
87741e9b9f
Minor. Get rid of redundant diagnostic parameters
2016-01-29 14:36:53 +03:00
Denis Zharkov
855a0b3493
Force type calculation for local function if it should be inferred
...
It helps to catch TYPECHECKER_HAS_RUN_INTO_RECURSIVE_PROBLEM errors
because they appear after return type calculation began
#KT-6271 Fixed
#KT-3272 Obsolete
2016-01-29 14:36:53 +03:00
Denis Zharkov
7d6310d88c
Add test for obsolete issue
...
#KT-9571 Obsolete
2016-01-29 14:36:53 +03:00
Denis Zharkov
36f21932bb
Approximate captured type before mapping
...
#KT-7415 Fixed
2016-01-29 14:36:53 +03:00
Denis Zharkov
5b0fdcb3fe
Fix stack overflow caused star projection
2016-01-29 14:36:53 +03:00
Denis Zharkov
6b33e3fb67
Minor. Rename variables and add assertion
2016-01-29 14:36:53 +03:00
Mikhail Glukhikh
4691351e76
Fix for unprocessed lambda under not-null assertion #KT-10843 Fixed
...
Also #EA-76890 Fixed
2016-01-29 12:57:52 +03:00
Michael Bogdanov
e1fa6491c1
Test for obsolete KT-10044: "Don't know how to generate outer expression for class" with lambda in init block
...
#KT-10044 Obsolete
2016-01-29 12:42:37 +03:00
Michael Bogdanov
b9c30c739e
Test for obsolete KT-7224: Redundant result boxing on ?. call on a primitive
...
#KT-7224 Obsolete
2016-01-29 12:13:16 +03:00
Michael Bogdanov
c9cc9c55cd
Added assertion for super call with default arguments in function default impl body
2016-01-29 11:02:21 +03:00
Mikhail Glukhikh
767729ba2a
Regression test #KT-9633 Obsolete
2016-01-29 10:55:22 +03:00
Dmitry Petrov
112e54b35a
KT-10752: if (inferred) type for an expression refers to a Java class
...
non-accessible in the current context, it is a compiler error.
Otherwise we might generate a CHECKCAST instruction that causes IAE at run-time.
Here we are somewhat less permissive then Java
(see inaccessibleType.kt in diagnostics tests).
2016-01-29 10:30:00 +03:00
Dmitry Petrov
1b78d01ae6
Effective visibility issues in FileBasedKotlinClass.
...
Make exposed nested classes public.
2016-01-29 10:30:00 +03:00
Evgeny Gerashchenko
c242ad94fd
Minor. Syntax error cosmetics.
2016-01-29 01:00:47 +03:00
Evgeny Gerashchenko
0d79c65d73
KT-8275 Unterminated multi-line comment should be compilation error
...
#KT-8275 fixed
2016-01-29 01:00:47 +03:00
Tim Steinbach
7cad65a1e7
Remove which dependency from startup scripts
2016-01-28 21:48:16 +03:00
Alexander Udalov
2a5b4d2c83
Fix annotations on Java elements in reflection
...
#KT-10840 Fixed
2016-01-28 21:48:16 +03:00
Alexander Udalov
b946d725d7
Filter out methods without return type to fix EA-73795
2016-01-28 21:48:16 +03:00
Alexander Udalov
7e17482698
Delete kotlin-jdk-annotations and kotlin-android-sdk-annotations
...
They were empty anyway for a long time
2016-01-28 21:48:16 +03:00
Ilya Gorbunov
911940d458
InlineOnly annotation suppresses NOTHING_TO_INLINE diagnostics.
2016-01-28 19:37:44 +03:00
Mikhail Glukhikh
0f1e6ba8be
Refactoring: noTypeCheckingErrorsInExpression introduced
2016-01-28 19:30:25 +03:00
Mikhail Glukhikh
ed8ccdc15a
Take into account data flow info changes for special call (if/when/elvis/!!) arguments #KT-10824 Fixed
...
Smart casts on complex expressions look as no more possible
2016-01-28 19:30:20 +03:00
Dmitry Jemerov
7c59592212
Quickfix for "Expression cannot be invoked as a function" with no arguments to remove parentheses
...
#KT-10825 Fixed
2016-01-28 17:04:44 +01:00
Dmitry Jemerov
6d7e1c69dc
remove logic to filter perf output from compiler output
2016-01-28 16:12:56 +01:00