Igor Yakovlev
a3f718733d
Fix of ConvertJavaInterfaceToClass test
...
Platform is trying to modify the class inheritance list during intension (see the test name above) action process but it cause a cross-language changes via PSI.
To make this possible LightClasses are supports this behaviour with a little support of it (inheritance list Add and inheritance list element Delete are supported).
It need's to be done for UL-classes in same way.
2019-05-17 14:48:47 +03:00
Toshiaki Kameyama
04638eea6b
Remove braces intention: fix caret position
...
#KT-31443 Fixed
2019-05-17 11:18:44 +07:00
Steven Schäfer
90c3269502
Fix type parameters in WrappedClassConstructorDescriptor
...
IrConstructorCall gets type parameters from the class in addition to the
constructor declaration. This behavior is already implemented for
ClassConstructorDescriptorImpl, but was not implemented for
WrappedClassConstructorDescriptor, leading to missing type arguments for calls
to constructors generated in a lowering pass.
2019-05-16 20:26:18 +02:00
Roman Artemev
77c0e591af
Set correct target backend
2019-05-16 19:27:41 +03:00
Roman Artemev
c352117eab
[JS IR BE] Set correct runtime for JS IR BE tests
2019-05-16 19:27:41 +03:00
Roman Artemev
fabd306437
[JS IR BE] Fix varargs for inline arrays
2019-05-16 19:27:41 +03:00
Roman Artemev
600ad7e088
[JS IR BE] Fix KProperty access in case of both receivers
2019-05-16 19:27:41 +03:00
Roman Artemev
cd3fd60dd7
[JS BE] Extract backend specific code from shared stdlib sources
2019-05-16 19:27:41 +03:00
Roman Artemev
02d84bf061
[IR BE] Delegate coroutine naming strategy to platform part
2019-05-16 19:18:54 +03:00
Alexander Udalov
21d0beb94b
Do not render stack traces and bytecode on muted failed tests locally
...
This was already disabled on buildserver with a35f368ce0 , but makes
sense locally too because otherwise IntelliJ renders a lot of output
which takes lots of memory and slows down the test runner
2019-05-16 17:30:21 +02:00
Mads Ager
34cf5a19df
JVM_IR: Support @JvmSynthetic annotations.
2019-05-16 17:07:22 +03:00
victor.petukhov
8bdc5f981e
Actualize spec tests
2019-05-16 12:24:18 +03:00
Dmitriy Novozhilov
96a3831feb
[NI] Add capturing receiver type for callable references
...
#KT-30292 Fixed
2019-05-16 10:50:30 +03:00
Steven Schäfer
f5a78213b2
Fix type of super
2019-05-16 07:58:45 +02:00
Alexey Tsvetkov
209a5d8464
Do not expose paths with placeholders in JS IC caches
...
#KT-31310 Fixed
2019-05-16 04:01:26 +03:00
Mads Ager
d2c372a4f7
JVM_IR: No EnclosingMethod attribute for member classes.
...
The comment in the code is correct that EnclosingMethod
attributes should only be generated for local and
anonymous classes. We were generating them for member
classes as well which leads to invalid class files.
With this change I had to mute one more tests. That is
because we lose the parent method and therefore we
see a class as a member class instead of a local class.
With the old descriptor based check that test still
passes.
2019-05-15 19:22:38 +02:00
Igor Yakovlev
79aa954682
Fix render of classpath log message for UL-classes
2019-05-15 18:48:53 +03:00
Elena Lepilkina
1c4ad193b3
Update kotlin-native-shared version
2019-05-15 16:07:54 +03:00
Mikhael Bogdanov
fe5a9f16a1
Minor. Remove obsolete workaround
2019-05-15 14:21:11 +02:00
Mikhael Bogdanov
812b766894
Remove hack with targets. Add target for most recent jdk
2019-05-15 14:21:11 +02:00
Alexander Udalov
a53fa0dfbf
Minor, optimize newly added tests on unsigned intrinsics
...
Remove "JVM_TARGET: 1.6" directive from box tests and remove tests with
JVM target 1.8. By default, box tests are run with JVM target 1.6, and
there's an additional configuration `codegenTarget8Jvm8Test` that runs
all box tests with JVM target 1.8.
Also, remove box tests with JVM target 1.6. They aren't needed because
even if we manage to generate incorrect bytecode with target 1.6, the
corresponding box tests will catch that
2019-05-15 13:30:16 +02:00
pyos
f392b027fa
JVM_IR: support references to Java fields
2019-05-15 13:29:48 +02:00
Alexander Udalov
e191eef10a
Minor, refactor system properties in CodegenTestCase
2019-05-15 13:25:47 +02:00
Alexander Udalov
b602c08773
Remove javaFilesDir parameter of CodegenTestCase.doMultiFileTest
...
Create TestFile instances for .java sources similarly to .kt sources,
and write them to a temporary directory via writeJavaFiles in each test
where this is needed
2019-05-15 13:25:14 +02:00
Alexander Udalov
7fdb9c990e
Reformat and cleanup most JVM codegen test classes
2019-05-15 13:25:14 +02:00
Svyatoslav Kuzmich
23a214710b
[JS IR BE] Add Unit return type to function signature
2019-05-15 14:09:02 +03:00
Svyatoslav Kuzmich
e8933738ac
[JS IR BE] Remove conservative unit materialization
...
Remove UnitMaterializationLowering
Remove Unit insertion in BridgeConstruction
Fix codegen for when expressions without else branch
2019-05-15 14:09:02 +03:00
Mikhael Bogdanov
c448def95f
Add custom JDK tests on recent JDK avaliable in project
2019-05-15 12:55:14 +02:00
Mikhael Bogdanov
2f7f05c3bc
Update proguard version
2019-05-15 12:55:13 +02:00
Dmitriy Novozhilov
07394bd6d3
[NI] Add test for KT-30300 with complex constraint system problem
2019-05-15 13:42:36 +03:00
Igor Yakovlev
e3ec501419
Fix realization of LightClass methods by KtLightClassForSourceDeclaration
...
#KT-31022 Fixed
2019-05-15 13:18:24 +03:00
Steven Schäfer
076f5e2ef9
Move jvm specific phases to JvmLower
2019-05-15 12:32:42 +03:00
Ilya Matveev
049269ba4f
Gradle plugin: remove old native binary APIs
...
This patch removes APIs for native binary configuring
introduced in 1.3.0 and deprecated in 1.3.30.
Issue #KT-31229 Fixed
2019-05-15 13:12:01 +07:00
Ilya Gorbunov
18f9b20610
Remove internal visibility suppressions in kotlin.test
...
Internal visibility works fine in MPP, so they are no longer required.
2019-05-15 06:18:27 +03:00
Toshiaki Kameyama
fef0cc5d2b
"Introduce 'when' subject" intention: suggest for "this" expression
...
#KT-12567 Fixed
2019-05-14 23:25:10 +03:00
Jake Wharton
aaf533df16
IR lowering for computing trimIndent/trimMargin on constants
2019-05-14 20:19:43 +02:00
Vyacheslav Gerasimov
d765bebcfc
Build: Import embedded configuration as runtime in JPS build
...
This makes Idea import all embedded modules as transitive dependencies
#KT-29548
2019-05-14 18:07:17 +03:00
Vyacheslav Gerasimov
5782267d26
Build: Fix import of kotlin-reflect in JPS build
...
#KT-29548 Fixed
2019-05-14 18:07:17 +03:00
Vyacheslav Gerasimov
b9fe6875e3
Build: Minor cleanup kotlin-reflect
2019-05-14 18:07:16 +03:00
Vyacheslav Gerasimov
c672300da1
Build: Use embedded configuration in kotlin-reflect
2019-05-14 18:07:16 +03:00
Vyacheslav Gerasimov
a6e3a0f5c3
Build: Use embedded configuration in kotlin-main-kts project
2019-05-14 18:07:16 +03:00
Vyacheslav Gerasimov
9a4cf2d835
Build: Add accessor for embedded configuration
2019-05-14 18:07:16 +03:00
Vyacheslav Gerasimov
0babddfc00
Build: update idea-ext to v0.5
2019-05-14 18:07:16 +03:00
Vyacheslav Gerasimov
68f776ebb1
Build: add kotlinManifest.properties to kotlin-plugin.jar
2019-05-14 18:07:16 +03:00
Vyacheslav Gerasimov
346478a5d3
Build: configure jps artifacts in gradle.projectsEvaluated
2019-05-14 18:07:16 +03:00
Dmitry Gridin
eee8d0263d
Fix "Unused import" for 'provideDelegate'
...
#KT-31319 Fixed
2019-05-14 21:01:21 +07:00
Dmitry Gridin
3914530fa8
Don't delete import from stdlib if alias exists and used
...
#KT-31414 Fixed
2019-05-14 21:01:21 +07:00
Dmitry Gridin
32298522dd
Optimize Imports shouldn't delete imports with unresolved parts
...
#KT-10512 Fixed
2019-05-14 21:01:20 +07:00
Dmitry Gridin
23e51268ad
Minor: refactoring AbstractImportsTest
2019-05-14 21:01:20 +07:00
Mikhael Bogdanov
8050e94c0d
Minor. Remove obsolete code for emulator shutdown
2019-05-14 15:46:23 +02:00