Commit Graph

65451 Commits

Author SHA1 Message Date
Denis Zharkov c6ae423816 Add tests for KT-35468
^KT-35468 Fixed
2020-04-29 09:17:54 +03:00
Ilya Gorbunov 9c2e149b5b Expect/actual kotlin.Throws annotation
#KT-34848
2020-04-29 09:17:54 +03:00
Ilya Gorbunov 9c0b49d3ed Advance bootstrap to 1.4.0-dev-7751 2020-04-29 09:17:54 +03:00
Dmitry Gridin 2f015b4c7a Fix testKotlin_moveTopLevelDeclarations_movePrivatePropertyWithDefaultAccessors_MovePrivatePropertyWithDefaultAccessors test 2020-04-29 13:05:36 +07:00
Dmitriy Dolovov b1bef8485d [Commonizer] Capitalize messages to be printed at console 2020-04-29 12:11:50 +07:00
Dmitriy Dolovov 0f6dbed03b [Commonizer] Don't fail when one of targets is not supported at the host
^KMM-214
2020-04-29 12:11:44 +07:00
Mike Samuel 580ffc1d99 Reformat FrameworkAdapter example code in comment
The example code shows up all on one line in the generated docs.

https://kotlinlang.org/api/latest/kotlin.test/kotlin.test/-framework-adapter/ shows

> suite('a suite', false, function() { suite('a subsuite', false, ...

Use a fenced code block with a language identifier.
2020-04-29 07:36:46 +03:00
Vadim Semenov f4cea1b0cd Fix typo in KDoc for Element.getPolymorphicElement 2020-04-29 07:35:22 +03:00
Ilya Gorbunov 886c4eb492 Report kotlin bootstrap version for integrity test build 2020-04-29 04:49:34 +03:00
Ilya Gorbunov 86d098b8ad Infer internal artifacts bootstrap repository
This allows taking these artifacts from buildserver if the
bootstrap itself is taken from there.
2020-04-29 04:49:34 +03:00
Dmitry Petrov f9bb07e128 JVM_IR: generate flags for adapted function references 2020-04-29 00:55:52 +03:00
Ilya Kirillov 94bc8eaf83 Wizard: remove copyrights from iOS template 2020-04-28 21:34:48 +03:00
Ilya Kirillov 6a9a97006b Wizard: fix not created by default xcode framework in shared module
the runForXcode task is not generating xcode framework
if there is no source files in shared module
2020-04-28 21:34:47 +03:00
Ilya Kirillov 47125553cb Wizard: fix android project template
It was not able to be built as lint task required com.android.tools.build:gradle
in classpath to work

#KT-38579 fixed
2020-04-28 21:34:46 +03:00
Ilya Kirillov 72030ee94e Wizard: do not run whole JPS project importing in write action 2020-04-28 21:34:45 +03:00
Ilya Kirillov b404e6324f Wizard: always allow user to choose project JDK 2020-04-28 21:34:43 +03:00
Ilya Kirillov 56eebed1d8 Wizard: fix kotlin and resources directory names in Android module
#KT-38428 fixed
2020-04-28 21:34:42 +03:00
Ilya Kirillov ccb8a93ee3 Wizard: minor, move message to bundle 2020-04-28 21:34:42 +03:00
Ilya Kirillov 1a68e40ebd Wizard: add common target to FullStackWebApplicationProjectTemplate 2020-04-28 21:34:40 +03:00
Ilya Kirillov 78b5be94e9 Wizard: validate project path for emptiness
#KT-38567 fixed
2020-04-28 21:34:39 +03:00
Ilya Kirillov 5f79ffbe50 Wizard: reduce buildsystem buttons sizes 2020-04-28 21:34:37 +03:00
Ilya Kirillov d9889e449f Wizard: do not create project with snapshot version 2020-04-28 21:34:31 +03:00
Ilya Kirillov 730cce93ed Wizard: add arrows for module selection popup 2020-04-28 21:34:27 +03:00
Ilya Kirillov 7286fcbf39 Wizard: use new api from gradle to import project on >= 193 2020-04-28 21:34:26 +03:00
Dmitriy Novozhilov e6d8e67a3a [FIR] Generify ComponentArray 2020-04-28 21:05:06 +03:00
Dmitriy Novozhilov a4a58a9d74 [FIR] Get rid of FirSession.service 2020-04-28 21:05:06 +03:00
Leonid Startsev 52933e161e Use AssociatedObjects on JS too
because JS IR now supports them
2020-04-28 20:51:24 +03:00
Steven Schäfer 905a8ca0d0 Reflect: Handle methods with inline class default parameters 2020-04-28 19:49:35 +02:00
Pavel Kirpichenkov 86d6470ced Update test data forgotten in 36a57973
KT-38544
2020-04-28 20:26:11 +03:00
Anton Bannykh 2992d49a1d JS IR: fix findAssociatedObjects for primitive type KClass'es 2020-04-28 19:08:44 +03:00
Dmitry Petrov 878e838f0b JVM: Suspend converted references inherit AdaptedFunctionReference 2020-04-28 18:56:37 +03:00
pyos deecb6a28e JVM: move synthetic line number generation to the inliner
This makes the behavior of JVM and JVM_IR the same without having to
deal with PSI nodes.
2020-04-28 17:21:07 +02:00
pyos 91b6daeacc JVM: fix debug info for script file classes 2020-04-28 17:21:07 +02:00
Georgy Bronnikov 1e8a660fda IR: use default parameters in Ir...Impl constructors 2020-04-28 18:19:46 +03:00
Georgy Bronnikov 9561cc8270 JVM_IR: JvmNameProvider 2020-04-28 18:19:46 +03:00
Georgy Bronnikov 52df54ae49 IR: add NameProvider 2020-04-28 18:19:46 +03:00
Georgy Bronnikov 82d55e1a67 Minor: remove unused parameters, reformat code 2020-04-28 18:19:46 +03:00
Alexander Podkhalyuzin 6372c01e49 Added missing specificity comparator to FIR
This is required to correctly resolve overloading in cases when we
need to find most specific alternative in Java between int and Integer.
2020-04-28 17:34:42 +03:00
Steven Schäfer b6b8dd1eab JVM IR: Avoid unnecessary CHECKCASTs in enum classes 2020-04-28 16:31:13 +02:00
Steven Schäfer cb3a4727cf JVM IR: Optimize field initializers in secondary constructors 2020-04-28 16:27:54 +02:00
Mads Ager fed6272de4 [JVM_IR] Use ifne and ifeq for integer zero comparisons. 2020-04-28 16:27:10 +02:00
Anton Bannykh e8a6ddceaa JS IR: hide runtime helpers from users 2020-04-28 16:40:07 +03:00
Mikhail Glukhikh 9f20e65595 FIR resolve completion: extract prepareQualifiedTransform 2020-04-28 16:32:07 +03:00
Mikhail Glukhikh eecf33a31d FIR resolve completion: add delegated completion for variable access 2020-04-28 16:32:07 +03:00
Mikhail Glukhikh 4866e7a988 FIR resolve completion: move transformFunctionCall upper 2020-04-28 16:32:06 +03:00
Mikhail Glukhikh d910a4cf23 FirCallResolver: perform completion for var access with ILT receiver
#KT-38473 Fixed
2020-04-28 16:32:06 +03:00
Mikhail Glukhikh b0b198119d FIR resolve completion: transform receivers for variable accesses 2020-04-28 16:32:06 +03:00
Mikhail Glukhikh ab79e60b63 FIR2IR: consider integer literal type as error type 2020-04-28 16:32:06 +03:00
Leonid Startsev 205f29128a Updated testdata to a new generation strategy
Fix IR generation problems

(partially reverts cd931796bc)

Regenerate diagnostic testdata according to runtime changes
2020-04-28 15:48:14 +03:00
Dmitry Gridin a11e6b2eed KotlinChangePackageRefactoring: fix formatting for long qualifier names
#KT-38627 Fixed
2020-04-28 12:37:18 +00:00