victor.petukhov
f6d67251fb
Print info about all failed test cases in spec tests
2019-04-19 11:55:30 +03:00
victor.petukhov
86bb5d689d
Add various tests for DFA testing
2019-04-19 11:55:30 +03:00
Sergey Rostov
15e3482eec
JPS Build: add type-system to kotlin-reflect.jar
2019-04-19 11:51:34 +03:00
Dmitriy Novozhilov
f7b4b553b7
Minor: remove redundant import
2019-04-19 11:08:43 +03:00
Dmitriy Novozhilov
ad50bcaf09
Add extracting original value parameters and original source in IDEA Slicer
...
#KT-31113 Fixed
2019-04-19 10:53:19 +03:00
Dmitriy Novozhilov
94c4a68344
[NI] Fix determination of ArgumentMatchStatus
...
#KT-31081 Fixed
2019-04-19 10:53:19 +03:00
Dmitriy Novozhilov
e70bdb51c5
[NI] Automatically squash equal diagnostics in OI and NI in testdata
2019-04-19 10:53:19 +03:00
Dmitriy Novozhilov
642f8ecaf8
[NI] remove redundant replacing receiver in lambda function descriptor
...
#KT-30927 Fixed
#KT-31057 Fixed
2019-04-19 10:53:19 +03:00
Mikhail Zarechenskiy
2fe900d915
[NI] Resolve lambda against input types from expected type
...
This is needed to report more precise diagnostics and fix IDE-tests
#KT-31059 Fixed
2019-04-19 09:08:31 +03:00
Mikhail Zarechenskiy
8f8e33f251
[NI] Strip only Exact-annotation preserving others during inference
2019-04-19 09:08:31 +03:00
Abduqodiri Qurbonzoda
3f08753f87
Move string-related files to text directory
2019-04-19 03:51:20 +03:00
Mikhael Bogdanov
dd005d3c02
Introduce IrLazyField
2019-04-18 19:56:19 +02:00
Sergey Igushkin
13120d23ce
Fix Gradle task validation failure due to missing property annotation
2019-04-18 20:41:43 +03:00
Vyacheslav Gerasimov
f9d2601d92
Build: Remove kotlin-scripting-compiler-impl from kotlin-plugin.jar
...
It already copied to plugin lib as separate library
2019-04-18 20:05:09 +03:00
Ilmir Usmanov
eb5ea62da4
Use anonymous objects instead of lambdas as callbacks in java interop tests
2019-04-18 18:38:16 +03:00
Georgy Bronnikov
328b8f9725
Redirect EnumConstructorCall to IrFunctionAccess in IrElementTransformerVoid
2019-04-18 14:50:55 +03:00
Mikhael Bogdanov
dde28ddc52
Parallelize compiler tests
2019-04-18 13:24:58 +02:00
Mikhael Bogdanov
73836928ef
Minor. Update folder suffix
...
Debug purpose
2019-04-18 13:24:57 +02:00
Ilya Chernikov
9900ac2462
Fix runtime compatibility with the obsolete script jvm eval config options...
...
also switch mainKtsTest to the mew option
2019-04-18 13:01:50 +02:00
Andrey Uskov
00c3550191
Add method 'addModuleDependencyIfNeeded' in order to keep
...
compatibility with AndroidStudio
#KT-31090 Fixed
2019-04-18 13:32:48 +03:00
Dmitry Gridin
9d3ebf4562
Minor: refactoring ReplaceJavaStaticMethodWithKotlinAnalogInspection
2019-04-18 15:33:48 +07:00
Dmitry Gridin
3bed360c98
Fix "Should be replaced with Kotlin function" warnings
2019-04-18 15:28:52 +07:00
Dmitry Gridin
d738a12b86
Fix false positive ReplaceJavaStaticMethodWithKotlinAnalog for java.io.PrintStream
2019-04-18 15:28:52 +07:00
Dmitry Gridin
fd47dc9b88
Replace popup with several quick-fixes in ReplaceJavaStaticMethodWithKotlinAnalog
2019-04-18 15:28:52 +07:00
Dmitry Gridin
ee304e92b5
Add Java Arrays.asList, Set.of, List.of to ReplaceJavaStaticMethodWithKotlinAnalogInspection
...
Relates to #KT-27782 #KT-21641
2019-04-18 15:28:52 +07:00
Dmitry Gridin
b5b5723ec3
Rename ReplaceJavaStaticMethodWithTopLevelFunctionInspection to ReplaceJavaStaticMethodWithKotlinAnalogInspection
2019-04-18 15:28:52 +07:00
Dmitry Gridin
23003c5d1a
Add Java compare to ReplaceJavaStaticMethodWithTopLevelFunctionInspection
2019-04-18 15:28:51 +07:00
Dmitry Gridin
7f3c4a21d5
Add Java toString to ReplaceJavaStaticMethodWithTopLevelFunctionInspection
2019-04-18 15:28:51 +07:00
Dmitry Gridin
6afc0367c0
Merge ReplaceJavaIntegerToStringWithMemberInspection and ReplaceJavaStaticMethodWithTopLevelFunctionInspection
...
Relates to #KT-12721
2019-04-18 15:28:51 +07:00
Dmitry Gridin
6b7f4dda31
Merge ReplaceArraysCopyOfWithCopyOfInspection and ReplaceJavaStaticMethodWithTopLevelFunctionInspection
...
Relates to #KT-23023
2019-04-18 15:28:51 +07:00
Dmitry Gridin
50b89dd587
Add more cases for ReplaceJavaStaticMethodWithTopLevelFunction from java.lang.Math
2019-04-18 15:28:51 +07:00
Sergey Rostov
69120c0614
JPS build: note about updating artifacts configuration when updating bootstrap version
2019-04-18 10:36:22 +03:00
Sergey Rostov
30d1cc51bf
JPS Build: update artifacts
2019-04-18 10:36:22 +03:00
pyos
b23f2a4dbb
JVM_IR: set ConstantValue on static final primitive fields
2019-04-18 09:16:32 +02:00
Mikhael Bogdanov
14485c0e33
Switch default for parallel execution
2019-04-18 08:33:02 +02:00
Ilmir Usmanov
dc821a720b
Fix test data
2019-04-18 01:13:01 +03:00
Ilmir Usmanov
a793055ec2
Check variables, captured by outer object when searching for suspend crossinline parameters
2019-04-18 01:12:58 +03:00
Ilmir Usmanov
7c14f4c6ae
Do not duplicate $$forInline counterpart of inline capturing function
2019-04-18 01:12:56 +03:00
Ilmir Usmanov
20b9d8b2f3
Generate state-machine even if the object is going to be transformed
...
This fixes Java interop of inline functions, which use coroutines.
However, we cannot transform the state-machine. Thus, we generate
a $$forInline counterpart for suspend functions (similar to inline
suspend functions) and invokeSuspend$$forInline for lambdas if these
coroutines are going to transformed (i.e. are declared inside inline
functions).
During transformation we just skip method with state-machine and
transform the $$forInline counterpart. Of course, if inline site is
inline itself, we generate both state-machine version (which will be
dropped during the next transformation) and $$forInline version.
Consequently, the final version of the coroutines will not have
$$forInline counterpart.
Unfortunately, since CompileKotlinAgainstInlineKotlin tests do not allow
java sources, the tests for the interop are usual box tests.
#KT-30707 Fixed
2019-04-18 01:12:52 +03:00
Mikhail Zarechenskiy
fe8bf98bce
Fix project compilation against bootstrap compiler
...
Follow-up of 705a8a22 , there were several usages of SAM conversions
for Kotlin functions
2019-04-17 23:11:05 +03:00
Ilya Chernikov
ada3edb222
Fix after rebase - adapting to the new idea plugin handling scheme
2019-04-17 22:03:59 +02:00
Ilya Chernikov
4b4186ecb2
Switch to coroutines 1.1.1
2019-04-17 22:03:59 +02:00
Ilya Chernikov
7c4efb2772
Disable ScriptingGradleSubplugin if applied in the gradle prior to 5.0
...
Allows to avoid limiting scripting infrastructure to languageVersion 1.2,
since kotlin compiler 1.3+ is bundled with gradle only starting from 5.0
2019-04-17 22:03:59 +02:00
Ilya Chernikov
72736d78e4
Drop blocking transitive dependencies following for gradle subplugins
...
fixes scripting subplugin usage, since it requires some dependencies now
2019-04-17 22:03:59 +02:00
Ilya Chernikov
f688bc5140
Add diagnostics for plugin classpath problems
2019-04-17 22:03:59 +02:00
Ilya Chernikov
8a8de052a3
Fix JSR-223 and scripting samples dependencies
2019-04-17 22:03:59 +02:00
Ilya Chernikov
60b3fa3b07
Fix embeddable host test
2019-04-17 22:03:58 +02:00
Ilya Chernikov
090dadce3e
Fix testdata - script extension hint is not generated anymore...
...
due to changes in the scripting initialization logic
2019-04-17 22:03:58 +02:00
Ilya Chernikov
64c3bcd9ab
Drop refactored-out frontend.script module
2019-04-17 22:03:58 +02:00
Ilya Chernikov
a65dafc37d
Move scripting support classes to the scripting compiler impl module
2019-04-17 22:03:58 +02:00