Commit Graph

54706 Commits

Author SHA1 Message Date
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
Mikhael Bogdanov 53856daaa4 Add system property to filter android test execution 2019-05-14 15:46:22 +02:00
Mikhael Bogdanov d3c0937c67 Run android test locally with X86 emulator 2019-05-14 15:46:21 +02:00
Svyatoslav Kuzmich 28406b6bc4 [JS IR BE] Enable unconditional validation 2019-05-14 16:23:43 +03:00
Svyatoslav Kuzmich b07690fccf Phaser: Implement dumper and verifier as general actions 2019-05-14 16:23:43 +03:00
Svyatoslav Kuzmich 0702b88bf3 [IR BE] Update parents in ArrayConstructorLowering 2019-05-14 16:23:42 +03:00
Mikhail Glukhikh 2d5f41cfe3 Fix .inspection file for ConvertNaNEquality tests 2019-05-14 16:23:08 +03:00
Mads Ager b1e8a7cfce JVM: Generate LVT entry for this in @JvmOverload methods.
This change also makes sure that no line numbers are generated
in the wrappers in the JVM_IR backend.

Change-Id: If6c37f8a20894455abddb526039df059e02015a3
2019-05-14 15:14:07 +02:00
Ilmir Usmanov 360e30c133 Remove redundant continuation classes and INNERCLASS nodes
#KT-31339 Fixed
2019-05-14 16:00:39 +03:00
Martin Petrov ccf2941f4a Use spaces instead of tabs to indent -Xlist-phases.
In Terminal.app and xterm the output columns get misaligned when using tabs.
Tabbed output only renders correctly when `tabstop=1`.
2019-05-14 15:54:01 +03:00
Svyatoslav Kuzmich 91d16ee947 [CLI] Extract :compiler:cli-js from :compiler:cli 2019-05-14 15:49:50 +03:00
Mark Punzalan 7efc29df7e Split up generation of test data for codegen/box/ranges into signed and
unsigned ranges/progressions.

The tests pass in JVM_IR for signed, but fail for unsigned due to
inlining being broken. We can disable the JVM_IR tests for unsigned,
while keeping them enabled for signed, to get better test coverage in
the interim until inlining is fixed.
2019-05-14 14:26:15 +02:00
Yan Zhulanow 331891b0d7 Pill: Fix getSerializedCompilerArguments()
There is an other method that starts with 'getSerializedCompilerArguments' – serializedCompilerArgumentsIgnoreClasspathIssues().
Fix the clash by exact matching: the getSerializedCompilerArguments() is not internal anyway.
2019-05-14 12:25:54 +09:00
Igor Yakovlev bf8cbfc6b5 Temporary ignore ConvertJavaInterfaceToClass test 2019-05-14 00:10:28 +03:00
Igor Yakovlev d44f37d3d5 Fix misspelling of KtUltraLightMethodForSourceDeclaration 2019-05-13 19:56:04 +03:00
pyos 40696f65c3 JVM_IR: generate WhenMappings for enum ordinal subjects 2019-05-13 19:09:07 +03:00
pyos fb194e982e Copy EnumWhenLowering from Kotlin/Native 2019-05-13 19:09:07 +03:00
Andrey Uskov 52315106e8 Create source sets for generated by kapt sources during import
#KT-30739 Fixed
2019-05-13 18:43:11 +03:00
Steven Schäfer 1e08b3c7da Simplify findLocalIndex in ExpressionCodegen 2019-05-13 18:34:00 +03:00
Steven Schäfer b04dc69157 Access this through the dispatch parameter when available 2019-05-13 18:34:00 +03:00
Steven Schäfer 9b9236efcb Fix parameter indices in SyntheticAccessorLowering 2019-05-13 18:34:00 +03:00
Sergey Igushkin be05095df5 Introduce Java support in JVM MPP targets (KT-26256)
Deprecate the `jvmWithJava` preset, add warning.

Add a function `withJava()` to JVM MPP targets which applies the 'java'
plugin and sets up the Kotlin & Java interoperation.

Issue #KT-26256 Fixed

Signed-off-by: Sergey Igushkin <hotkeytlt@gmail.com>
2019-05-13 16:25:09 +03:00
Igor Yakovlev 4625002efe Fix invalid test data for CommonIntentionActionsTest 2019-05-13 16:10:52 +03:00
Matthew Runo 39f576d75c Migrate RetentionPolicy arguments in deprecated Java quick-fix
#KT-29666 Fixed
2019-05-13 15:35:46 +03:00
Roman Artemev db5396c1c2 [JS IR BE] Fix main function detector
- Do not consider extension functions as main candidate
2019-05-13 15:26:09 +03:00
Mikhael Bogdanov c8564e9ade Update jpsBuild dependencies 2019-05-13 14:18:33 +02:00
Svyatoslav Kuzmich bd3953c09f [JS IR BE] Turn on strict mode in generated code.
Fix multiple import of the same javascript module.
2019-05-13 13:41:11 +03:00
Svyatoslav Kuzmich 0f90aa5f80 [JS IR BE] BridgeConstruction: Fix init order of receivers and type parameters 2019-05-13 13:40:30 +03:00
Toshiaki Kameyama 14259ca9e0 Implicit Nothing? type: don't report when declaration overrides nullable nothing type
#KT-30481 Fixed
2019-05-13 13:00:50 +03:00