Vyacheslav Gerasimov
ffa9478d0c
Configure Kotlin: add mavenCentral() to repositories
...
Since kotlin stdlib depends on artifacts from mavenCentral() we should add it
#KT-18719 Fixed
2017-11-01 23:57:20 +03:00
Mikhail Glukhikh
d59276671f
Related to KT-20631: don't report redundant blank Unit in lambda
2017-10-31 16:38:55 +03:00
Toshiaki Kameyama
0fd4cdb086
Fix false positive for "redundant super" in data class #KT-20981 Fixed
2017-10-31 15:15:19 +03:00
Toshiaki Kameyama
ef71f7707d
Introduce inspection to detect use of Unit as a standalone expression
...
So #KT-20631 Fixed
2017-10-31 14:51:06 +03:00
Toshiaki Kameyama
5f4233e4bf
Don't suggest "Remove explicit type specification" for an annotated type
...
So #KT-20622 Fixed
2017-10-31 14:37:36 +03:00
Mikhail Glukhikh
149daa173c
Do not report "unused receiver" on operator and infix functions
...
So #KT-16340 Fixed
2017-10-30 15:07:39 +03:00
Mikhail Glukhikh
561d7749b1
Choose implementing module correctly in "create actual fix"
...
Take implements / expectedBy dependency into account
So #KT-20803 Fixed
2017-10-30 14:13:10 +03:00
Mikhail Glukhikh
f0da58531e
Enhance AbstractQuickFixMultiModuleTest
...
Handle same files at different source roots correctly
2017-10-30 14:12:27 +03:00
Yoshinori Isogai
11f9c055fd
KT-20591: Show annotations in parameter info ( #1358 )
...
Show annotations in parameter info
#KT-20591 Fixed
2017-10-27 22:59:04 +03:00
Nikolay Krasko
d75656d571
Additional tests for overloads with type aliases and suspend
...
Failed attempts to reproduce KT-20782, but still may be useful.
2017-10-27 15:09:52 +03:00
Dmitry Jemerov
a1949e1d53
Add formatting rule for array literals
...
#KT-19599 Fixed
2017-10-26 14:10:12 +02:00
Simon Ogorodnik
98310d3bdb
KT-20884: Support receiver reference in KDoc comments
...
#KT-20884 fixed
2017-10-25 17:54:47 +03:00
Simon Ogorodnik
fb876e398c
Correctly detect visibility in KDocMissingDocumentationInspection
...
#KT-20887 fixed
#KT-20889 fixed
2017-10-25 17:54:45 +03:00
Simon Ogorodnik
f21e1c60e0
KT-20883: Add more details to MissingDocumentationInspection message
...
#KT-20883 fixed
2017-10-25 17:54:43 +03:00
Simon Ogorodnik
d28e9fd22d
KT-20880: Fix AddDocumentationFix to add multiline comment
...
#KT-20880 fixed
2017-10-25 17:54:42 +03:00
Nikolay Krasko
6a43743c98
Configure new projects with kotlin-stdlib-jdk7/8 (KT-20286)
...
No migration for old projects has been added yet.
#KT-20286 Fixed
2017-10-25 15:01:10 +03:00
Alexey Sedunov
840825704a
Misc: Skip duplicates in navigation tests
2017-10-24 15:43:52 +03:00
Alexey Sedunov
4cc1e22a5a
Misc: Support light-methodless members in overrider search
...
In particular, support line markers for expect-class members
and navigation to expect-class members from corresponding base members
2017-10-24 15:43:51 +03:00
Alexey Sedunov
17abce2811
Misc: Support light-classless classes in inheritors search
...
In particular, support line markers for expect-classes
and navigation to expect-classes from their base class
#KT-20329 Fixed
2017-10-24 15:43:51 +03:00
Alexey Sedunov
fa4e4cbb42
Formatter: Insert new line before/after type alias
...
#KT-20766 Fixed
2017-10-24 15:43:51 +03:00
Mikhail Glukhikh
d0e8f99d60
ResolveElementCache: script can now be analyzable parent
...
So #KT-20096 Fixed
2017-10-23 19:19:04 +03:00
shiraji
31a1fb916a
Implement an intention action to move a companion object member to top level
...
#KT-18828 Fixed
(cherry picked from commit 11f8f8b)
2017-10-23 17:29:28 +03:00
Toshiaki Kameyama
e76d8bc793
"Convert object literal to class" should create inner class if necessary #KT-20091 Fixed
2017-10-23 15:02:51 +03:00
Mikhail Glukhikh
739b21f519
Introduce "add missing actual members" quick-fix #KT-18449 Fixed
2017-10-20 17:24:19 +03:00
Toshiaki Kameyama
fa03632197
Convert lambda to reference: handle named arguments more precisely
...
For trailing lambda intention inserts parameter names for all arguments
if at least one argument used default value.
Otherwise it just keeps existing named arguments.
So #KT-20349 Fixed
2017-10-20 13:57:58 +03:00
Kirill Rakhman
4c4427c280
Replace return@forEach with continue in ConvertForEachToForLoopIntention
...
So #KT-17332 Fixed
2017-10-20 13:44:31 +03:00
Alexey Sedunov
e65adeb029
Misc: Fix quickfix test data
2017-10-18 18:17:50 +03:00
Alexey Sedunov
d6ee9c9068
Misc: Update member hierarchy test data to include new stdlib classes
2017-10-18 18:17:50 +03:00
Alexey Sedunov
83b10403d7
Misc: Drop test for implementing abstract members in expect-class
...
The "not implemented" error is not reported for such classes, so
quick fix is not available anymore (see KT-16099)
2017-10-18 18:17:50 +03:00
Alexey Sedunov
997aa12bcc
Misc: Update configuration test data
2017-10-18 18:17:50 +03:00
Yan Zhulanow
43a1162b25
Evaluate: Fix for evaluating local variables captured by an inline function (KT-17514)
2017-10-16 21:25:44 +03:00
Mikhail Glukhikh
eba2fdfe89
Fix inline test
2017-10-16 21:06:18 +03:00
Alexey Sedunov
25b6dac7b5
Introduce Type Alias: Don't change non-nullable type to nullable alias
...
#KT-15840 Fixed
2017-10-16 16:04:39 +03:00
Alexey Sedunov
1c3a3cd651
Introduce Parameter: Forbid inside of default values
2017-10-16 16:04:39 +03:00
Alexey Sedunov
790b615fa1
Introduce Parameter: Fix parameter name validation
...
Respect existing parameter names and fix some exceptions
#KT-19439 Fixed
#KT-20402 Fixed
#KT-20403 Fixed
2017-10-16 16:04:39 +03:00
Alexey Sedunov
bf3769f37e
Introduce Parameter: Forbid inside of annotation entries
...
#KT-18594 Fixed
2017-10-16 16:04:38 +03:00
Alexey Sedunov
e2fd9a71df
Rename: Search text occurrences by declaration FQ name
...
#KT-17949 Fixed
#KT-15932 Fixed
2017-10-16 16:04:38 +03:00
Mikhael Bogdanov
232d1bd9ef
Switch warning to error for java-default method calls within 1.6 target
...
#KT-15825 Fixed
(cherry picked from commit 9b29ebb)
2017-10-11 19:20:24 +03:00
Dmitry Savvinov
87b85ce978
Fix testdata for tests which use varargs
...
Change tests to use new syntax for array literals to prevent deprecation
warnings (see KT-20171).
2017-10-11 18:06:00 +03:00
Mikhail Zarechenskiy
88595e1a58
Don't require to override abstract methods in expect class
...
#KT-16099 Fixed
2017-10-11 15:27:50 +03:00
Dmitry Savvinov
2c0ef592e6
Effects: add DSL for declaration of contracts
...
- Introduce DSL for declaration of contracts. Functions and classes in
this DSL do not bear any computational semantics: in fact, they all do
not exist on runtime. Whole work of extracting semantics from such calls
is done by special parts of compiler
- To make distinguishing those declarations more robust and
convenient, introduce internal annotation @ContractsDSL
- Turn off InlineChecker inside contracts DSL. We do this, because some
functions from DSL should take any possible lambda, so we can't write
any type besides 'Function<R>'. However, InlineChecker will complain if
we will pass inlined lambda in such function -- though, this is false
positive because we know that functions from contracts DSL will never be
executed
- Change testData on HierarchyTestWithLib, where new enum from
kotlin.internal changed expected output
==========
Effect System introduction: 7/18
2017-10-11 13:34:54 +03:00
Dmitry Jemerov
c2efdfe243
Add space before 'where' keyword
...
#KT-19213 Fixed
2017-10-11 12:25:53 +02:00
Mikhail Glukhikh
e37bfa13e3
Related to KT-20713: add test for find usages in script
2017-10-10 22:48:42 +03:00
Mikhail Glukhikh
c5cb45794a
Fix CCE in ReplaceAddWithPlusAssignIntention #KT-20183 Fixed
2017-10-10 22:48:39 +03:00
Mikhail Glukhikh
45c9be2945
Fix problem with mutable map in "simplifiable call chain"
...
So #KT-20315 Fixed
2017-10-10 22:48:35 +03:00
Mikhail Glukhikh
8e59d3e379
Handle modifiers correctly in "val to object" #KT-18919 Fixed
2017-10-10 22:48:33 +03:00
Mikhail Glukhikh
0b5b5d8e89
Suggest primitive array type for collection literals in "add type" fix
...
So #KT-18549 Fixed
2017-10-10 22:48:30 +03:00
Nikolay Krasko
6664b7759b
Configure kotlin.stdlib for gradle projects (KT-19207)
...
#KT-19207 Fixed
2017-10-10 16:29:22 +03:00
Nikolay Krasko
023067aaf2
Allow to use folders for gradle configuration tests
2017-10-10 16:29:22 +03:00
Alexey Sedunov
ea8f3dcc65
Go to Implementation: Support suspend functions
2017-10-10 13:15:16 +03:00