Toshiaki Kameyama
8a20d1bf01
Add intention to convert lambda to anonymous function #KT-7710 Fixed
2018-05-16 13:01:36 +03:00
Nikolay Krasko
8ef4b9a8e1
Don't show type hierarchy for elements without name
2018-05-16 12:55:09 +03:00
Nikolay Krasko
062a212b61
Don't build light classes for local classes with parse errors (KT-24323, EA-107235)
...
Also use checks for building light classes in `getLightClassDataHolder`.
2018-05-16 12:55:09 +03:00
Nikolay Krasko
15a704fe36
Use comment directive for not generated case to be valid Java file
2018-05-16 12:55:08 +03:00
Nikolay Krasko
f2c642eefb
Fight with valid absent, corrupted and missing files in archives (EA-119686)
...
Inspired by ClassFileViewProvider.
2018-05-16 12:55:08 +03:00
Nikolay Krasko
c35f8d621a
Use separate dirs in pill for running IDE to avoid test misbehaviour
2018-05-16 12:55:08 +03:00
Ilya Chernikov
612de2e342
Fix the invalid code after "Fix order of jars" commit
2018-05-16 07:24:21 +02:00
Vyacheslav Gerasimov
a1c551faaf
as32: Make use of createIfNecessaryParameter of AndroidModuleInfoProviderImpl.getApplicationResourceDirectories
2018-05-15 22:32:20 +03:00
Vyacheslav Gerasimov
995352c20f
Restore j2k.jar in cidr plugin
...
Excluding it requires more complex refactoring, wip
2018-05-15 22:11:01 +03:00
Ilya Chernikov
b2bda5c017
Enumerate roots for script definitions only if project is initialized
...
fixes #KT-23805
2018-05-15 19:27:09 +02:00
Ilya Chernikov
4b949ef303
Fix order of jars for the scripting plugin:
...
if gradle project is being built with JPS, the gradle scripting plugin
is passed in the plugin classpath. Since it is rebased on the embeddable
compiler, it hides expected plugin registrar signature, which leads to
the AbstractMethodError on attempt to load the plugin. Putting incoming
classpath at the end of the resulting one fixes the issue.
Fixes #KT-24448
2018-05-15 19:26:42 +02:00
Alexey Tsvetkov
ea1a4f75ba
Fix incremental android extensions test
...
Weirdly merge resource task was failing when run incrementally
if support library is present
2018-05-15 18:40:54 +03:00
Alexey Tsvetkov
6edba56adb
Fix Android IC test
...
Previously some Kotlin files were recompiled, because Java files
were regenerated.
However this is no longer true for some time since
precise Java tracking was implemented.
2018-05-15 18:40:54 +03:00
Mike
a038a88bfa
More correct NOTHING_TO_INLINE description
...
Strictly speaking, they are not 'lambda parameters', they are 'functional parameters' or 'parameters of functional types'.
Sorry for my pedantry.
2018-05-15 16:27:45 +02:00
Mikhael Bogdanov
f4f01efd1f
Avoid descriptors usage in IrFunction flag calculation
2018-05-15 16:07:07 +02:00
Mikhael Bogdanov
e9216625f0
Update logic to $default function lowering (don't skip interface members)
2018-05-15 16:06:31 +02:00
Mikhael Bogdanov
9d36367fbd
Minor. Code clean: use class kind utils
2018-05-15 16:06:30 +02:00
Mikhael Bogdanov
678b1101cb
Add class kind utils
2018-05-15 16:06:28 +02:00
Mikhael Bogdanov
6590666983
Run ir test in parallel
2018-05-15 16:06:00 +02:00
Mikhael Bogdanov
9546c36c3c
Get rid of 'descriptor.isInner()' call
2018-05-15 16:06:00 +02:00
Mikhael Bogdanov
b9da331dcd
Migrate DescriptorsFactory.getInnerClassConstructorWithOuterThisParameter() API to symbols
2018-05-15 16:05:59 +02:00
Mikhael Bogdanov
9103b6a51b
Migrate DescriptorsFactory.getOuterThisFieldSymbol() API to symbols
2018-05-15 16:05:59 +02:00
Mikhael Bogdanov
ee98556669
Migrate DescriptorsFactory caching to symbols
2018-05-15 16:05:58 +02:00
Mikhael Bogdanov
d4d8fe4995
Migrate DescriptorsFactory.getSymbolForObjectInstance() API to symbols
2018-05-15 16:05:57 +02:00
Mikhael Bogdanov
2631d149b2
Migrate DescriptorsFactory.getFieldDescriptorForEnumEntry() API to symbols
2018-05-15 16:05:55 +02:00
Mikhael Bogdanov
9fad3f25f3
Minor. Reformat
2018-05-15 16:04:47 +02:00
Yan Zhulanow
9277d6a160
Pill: Import Kotlin facets
2018-05-15 16:29:52 +03:00
Yan Zhulanow
215053efc9
Pill: Fetch kotlin compilation arguments
2018-05-15 16:29:51 +03:00
Yan Zhulanow
923fbaaca6
Pill: Fix launching debuggable Android Studio on 'as' bunches
2018-05-15 16:29:50 +03:00
Yan Zhulanow
614033d64c
Pill: Import all defined source sets, not only "src" and "test"
2018-05-15 16:29:49 +03:00
Yan Zhulanow
2bf439d3fb
Pill: Attach gradle-api dependency
2018-05-15 16:29:48 +03:00
Yan Zhulanow
c439b6d38b
Pill: Import common modules as libraries
2018-05-15 16:29:47 +03:00
Yan Zhulanow
33a8843d34
Pill: Download Android jars only if pill.android.tests option is set
2018-05-15 16:29:46 +03:00
Yan Zhulanow
5fc18755ca
Pill: Exclude 'build' dirs from excluded projects
2018-05-15 16:29:46 +03:00
Yan Zhulanow
ba5836d666
Pill: Introduce pill{} extension to set extended Pill configuration
...
Also introduce the flavor concept which allows to specify what part of Kotlin project should be imported.
2018-05-15 16:29:45 +03:00
Dmitry Petrov
a57869993d
Fix asserted cast in IrBuilderWithScope.irReturn
2018-05-15 15:43:56 +03:00
Dmitry Petrov
21dfee4565
psi2ir: inferred type for 'when' is Nothing only if it's exhaustive
...
TODO: fix inference bug
2018-05-15 15:43:56 +03:00
Dmitry Savvinov
70622ff668
Introduce -Xoutput-imports mode of JVM compiler
...
In this mode, instead of analyzing files and generating bytecode for
them, compiler just saves imports of each file in JSON map of form
'<path to file> -> [<import1>, <import2>, ...]'
It is needed for some external tools, notably for Google3 toolchain.
2018-05-15 15:36:14 +03:00
Mikhail Glukhikh
bec1ae3d94
Reformat: replace with operator assignment
2018-05-15 13:28:08 +03:00
Mon_chi
c49eaf2604
Fix hint text for replace with operator assignment #KT-23559 Fixed
2018-05-15 13:26:23 +03:00
Mikhail Glukhikh
8c3e787584
Convert KFunction to Function in type mismatch fixes #KT-16770 Fixed
2018-05-15 13:22:48 +03:00
Mikhail Glukhikh
25609f1159
Create kotlin file: create abstract class if its name contains Abstract
...
So #KT-21844 Fixed
2018-05-15 11:30:32 +03:00
Mikhail Glukhikh
1f8e24fa82
Reformat: NewKotlinFileAction
2018-05-15 11:30:30 +03:00
Mikhail Glukhikh
c61b5671c9
Fix testSuspend (protect it from flaky error about disabled coroutines)
2018-05-15 11:30:29 +03:00
Ilya Chernikov
0026a138d3
Add changelog from 1.2.40 - 1.2.41
2018-05-14 21:48:40 +02:00
Ilya Gorbunov
1d0d801744
Minor merge cleanup: remove unused variable
2018-05-14 18:24:31 +03:00
Ilya Gorbunov
864f0fecf6
KT-24353 Include kotlin-test-junit5 into coreLibraries, use JDK_18 to build and test it
2018-05-14 17:37:06 +03:00
evgzakharov
634279621d
KT-24353 change junit5 version to minimal possible (5.2.0 -> 5.0.0)
...
However use the latest version of junit engine for running tests.
2018-05-14 17:36:34 +03:00
evgzakharov
84ee97cae9
KT-24353 add support for junit 5 in kotlin.test
2018-05-14 17:36:34 +03:00
Simon Ogorodnik
6967028fdb
KT-24146: Fix inserts imports automatically
...
Even if "add unambiguous imports on the fly" is off
#KT-24146 fixed
2018-05-14 17:28:16 +03:00