Mikhail Glukhikh
00a9dea7cb
KotlinAbstractUElement+KotlinUElementWithComments(172): add imports
2018-04-21 11:04:13 +03:00
Ilya Gorbunov
c239d346f7
Correctly indent upper bound separator in the generated stdlib code
2018-04-20 23:14:57 +03:00
Ilya Gorbunov
5381d0ed58
Move sequence operation classification higher than sample
...
Otherwise it gets eaten by that @sample tag.
2018-04-20 22:40:35 +03:00
Ilya Gorbunov
908d2d6975
Introduce kotlin-stdlib-generator dsl block for specifying sample reference
2018-04-20 22:40:35 +03:00
Mikhail Glukhikh
5dd7ff4d7f
Up KotlinAbstractUElement / UElementWithComments / UVariable in branches
2018-04-20 21:29:55 +03:00
Mikhail Glukhikh
3e1d05f146
Update KotlinUMethod for 172/181/as32 branches
2018-04-20 21:23:05 +03:00
Pavel V. Talanov
521357a22d
Add tests for KT-20824, KT-23745, KT-23124, KT-20605, KT-23760
...
#KT-20824 Fixed
#KT-23745 Fixed
#KT-23124 Fixed
#KT-20605 Fixed
#KT-23760 Fixed
2018-04-20 20:00:12 +02:00
Pavel V. Talanov
94fe170b7b
MPP: analyze platform sources with expectedBy common sources
...
This allows to emulate current compiler behaviour
Introduce CombinedModuleInfo which is a combination of several other modules intended to be analyzed together
2018-04-20 20:00:11 +02:00
Pavel V. Talanov
94dfcba5c5
Minor: adjust quick fix test data to avoid "conflicting overloads"
2018-04-20 20:00:07 +02:00
Pavel V. Talanov
3949fc70c9
Adjust test data for previously ignored tests
2018-04-20 20:00:05 +02:00
Pavel V. Talanov
5ddb7c71d1
Mpp resolve: fix actual/expect declaration lookup
...
Previously we would look fo expect declaration in common dependencies
as opposed to looking inside the module exclusively
2018-04-20 20:00:04 +02:00
Pavel V. Talanov
cdb49511e6
Mpp highlighting test: make generated, adjust test data
...
Note: this spawns new test cases which were ignored previously
2018-04-20 20:00:02 +02:00
Pavel V. Talanov
5a85f2437d
Mpp test utils: allow to setup dependencies on stdlib and fulljdk
...
Allow to specify jjvm8 as platform
2018-04-20 20:00:00 +02:00
Mikhail Glukhikh
c69dd98c86
Build fix: quick-fix tests (forgotten actions)
2018-04-20 20:55:27 +03:00
Mikhail Glukhikh
a25e971d19
UAST: property delegates consistency #KT-22527 Fixed
2018-04-20 20:39:56 +03:00
Mikhail Glukhikh
f179b2ba13
Test for KT-22527
2018-04-20 20:39:54 +03:00
Mikhail Glukhikh
29c16f9561
Improve KotlinUElementWithComments & use it in most KotlinUElements
...
Related to KT-22135
2018-04-20 20:39:45 +03:00
J.T. Gilkeson
7a538accff
Fix problem with trimEnd wiping out spans in SpannableStringBuilder
...
If I pass in a CharSequence with different spans, the original trimEnd using substring incorrectly wiped out the spans.
changing to subSequence correctly preserves the span data
#KT-23920 Fixed
2018-04-20 18:04:13 +03:00
Alexey Sedunov
36975786e8
Gradle: Import project dependency with non-default configuration by its artifacts
2018-04-20 16:57:43 +03:00
Dmitry Jemerov
2a684684a5
Pass canChangeWhitespaceOnly flag in reformat inspection
...
Otherwise IDEA will run preformat and postformat processors, which don't
expect to run outside of EDT (IDEA-185991)
2018-04-20 15:38:35 +02:00
Alexey Sedunov
38808118b1
Misc: Update test data for MavenUpdateConfigurationQuickFixTest (181/182)
2018-04-20 16:19:25 +03:00
Dmitry Petrov
54cf11fd0a
Skip empty string entries when generating string template expression
...
#KT-19738 Fixed Target versions 1.2.50
2018-04-20 14:52:14 +03:00
Dmitry Petrov
22c2d8b563
Introduce a separate StackValue class for lateinit local vars
...
Local lateinit var differs in behavior from a simple local var,
and logic that relies of 'instanceof Local' checks assuming that all
instances of Local are simple local vars can produce faulty code
(as in KT-23260, where a local lateinit var was not explicitly put on
stack when passed as an argument to an inline function, thus causing
null propagation).
#KT-23260 Fixed Target versions 1.2.50
2018-04-20 14:51:34 +03:00
Dmitry Petrov
7be4f5d31f
Minor: reformat code in InlineCodegen
2018-04-20 14:51:34 +03:00
Nikolay Krasko
c86e157a48
Fix KotlinFileStructureTestGenerated in 181
...
Use common code for 173 and 181.
2018-04-20 14:37:02 +03:00
Nikolay Krasko
846a1a0179
Remove deprecated marker for JVM debugging in Kotlin code (KT-23886)
...
#KT-23886 Fixed
2018-04-20 14:37:01 +03:00
Nikolay Krasko
b6699d7522
Postpone analyze and remove direct working with BindingContext in folding
...
#KT-5206 Fixed
2018-04-20 14:37:01 +03:00
Aaron Nwabuoku
3a83983bfc
Support code folding for standard library collection factory functions (KT-5206)
...
#KT-5206 Fixed
2018-04-20 14:37:01 +03:00
Mikhail Glukhikh
c4cdc0543d
KT-23266 (forgotten change): modify plugin.xml for all branches
2018-04-20 13:17:06 +03:00
Mikhail Zarechenskiy
4f3fde2334
Regenerate tests
2018-04-20 13:06:22 +03:00
Mikhail Zarechenskiy
4a1c63cbbd
[NI] Rename: isVariableReceiverForInvoke -> isForImplicitInvoke
2018-04-20 13:06:21 +03:00
Mikhail Zarechenskiy
397cc4f772
[NI] Support implicit invoke calls on parenthesized receivers
2018-04-20 13:06:21 +03:00
Mikhail Zarechenskiy
1e7682afc0
Minor, rename property according to the style
2018-04-20 13:06:20 +03:00
Mikhail Zarechenskiy
f039ec3625
Refactoring: get rid KotlinCallKind inside ResolutionKind
2018-04-20 13:06:20 +03:00
Alexey Sedunov
898105a5fa
[REVERT/172] Test Support: Implement proper detection of existing TestNG configurations
2018-04-20 12:57:36 +03:00
Vyacheslav Gerasimov
0c6fb77637
Build: Set dependency on :dist for js.tests project test tasks
2018-04-20 11:35:55 +03:00
Vyacheslav Gerasimov
09a347b2d4
Disable assertion in RecompilableScriptFunctionData for js tests
...
which fails due to a bug in nashorn
#KT-23637 Fixed
2018-04-20 11:35:42 +03:00
Ilya Gorbunov
481620ba32
Suppress dokka warnings for external classes exposing JS API to Kotlin
...
Usually MDN link in the class description is enough.
2018-04-20 06:39:01 +03:00
Swapnil Sankla
b93e385181
Add sample for setOf method
...
Ilya Gorbunov: Improve sample to illustrate stable iteration order and set equality.
2018-04-20 06:03:05 +03:00
Ilya Gorbunov
c5aed06110
Clarify docs for downTo and until
2018-04-20 05:25:31 +03:00
Ilya Gorbunov
501d969a38
Improve docs wording of zip function
2018-04-20 02:44:48 +03:00
Ilya Gorbunov
0eae27e03f
Add samples for zip on sequences and strings
2018-04-20 02:00:36 +03:00
TakuyaKodama
2d4e591b5d
Add samples for zip on arrays and collections
...
Write the sample references in the template and run the generator
2018-04-20 02:00:36 +03:00
Alexey Tsvetkov
137698d967
Minor: move BuildTimeReporter from buildSrc to report.gradle.kts
2018-04-19 21:03:32 +03:00
Ilya Gorbunov
b1f6ba703d
Remove obsolete ant build scripts
2018-04-19 20:46:15 +03:00
Alexey Sedunov
48984fb3bf
Maven: Support "javaParameters" tag in Kotlin/JVM configurations (181)
2018-04-19 19:11:54 +03:00
Alexey Sedunov
4819fc337d
Misc: Fix dialog text for CallableRefactoring implementations
...
#KT-23778 Fixed
2018-04-19 19:06:48 +03:00
Alexey Sedunov
f69a807ae6
Change Signature: Fix original method info for Java method used in Kotlin
...
#KT-23714 Fixed
2018-04-19 19:06:48 +03:00
Alexey Sedunov
53a4baac8b
Safe Delete: Do not replace SafeDeleteOverrideAnnotation for Java methods
...
#KT-23613 Fixed
2018-04-19 19:06:48 +03:00
Alexey Sedunov
4938825e19
Test Support: Implement proper detection of existing TestNG configurations
...
#KT-8407 Fixed
2018-04-19 19:06:48 +03:00