Commit Graph

64557 Commits

Author SHA1 Message Date
Ilya Goncharov 742e27d7f5 [Gradle, JS] Rearrange
#KT-34832 fixed
2020-04-23 15:46:47 +03:00
Ilya Goncharov e412224572 [Gradle, JS] Resolve -> install
#KT-34832 fixed
2020-04-23 15:46:36 +03:00
Ilya Goncharov 0af6454e44 [Gradle, JS] Add new state for npm resolution
#KT-34832 fixed
2020-04-23 15:46:25 +03:00
Ilya Goncharov 9174e184d3 [Gradle, JS] Rename Installed on prepared
#KT-34832 fixed
2020-04-23 15:46:13 +03:00
Ilya Goncharov 578a33767b [Gradle, JS] Npm resolution plugins work in resolve phase too
#KT-34832 fixed
2020-04-23 15:46:01 +03:00
Ilya Goncharov 910f60b731 [Gradle, JS] Not run task if root package.json doesn't exist
#KT-34832 fixed
2020-04-23 15:45:50 +03:00
Ilya Goncharov 86573c6dd1 [Gradle, JS] Divide creating root package and install tasks
#KT-34832 fixed
2020-04-23 15:45:34 +03:00
Alexey Trilis 3ad597ca5c Introduce MSE and EME APIs to Kotlin/JS stdlib
#KT-37910 Fixed
2020-04-23 15:35:04 +03:00
pyos 456469eb3b JVM: fix remapping of new T inside regenerated copies of T
In general, `InliningContext.findAnonymousTransformationInfo` was not
reliable because it mapped each type to *some* info for that type,
preferring ones with `shouldRegenerate == true` if those exist. Thus, it
returned incorrect results if one type was regenerated multiple times,
e.g. in a nested inlining context or because of a `finally` (which
duplicates anonymous objects). The solution is to avoid a global map and
attach the current transformation info directly to the current inlining
context.
2020-04-23 14:20:54 +02:00
Sinan Kozak 3f8ffb5ea7 KT-24750 Blank line after class header formatter should use user setting 2020-04-23 18:48:38 +07:00
Konstantin Tskhovrebov e6f527f1d0 Update tests: disable tests run gutters for Object. 2020-04-23 14:16:22 +03:00
Mikhail Glukhikh 57b4a54766 [FIR] Calculate effective visibility inside anonymous object properly
#KT-38432 Fixed
2020-04-23 13:57:27 +03:00
Mikhail Glukhikh bb73681b62 [FIR] Avoid integer literal types in lambda analysis
Partial fix of KT-38473
2020-04-23 13:46:40 +03:00
Mikhail Glukhikh 2805108061 [FIR2IR] Slightly refactor ConversionUtils 2020-04-23 13:44:13 +03:00
Mikhail Glukhikh 09f9e767ed [FIR2IR] Slightly refactor DataClassMembersGenerator 2020-04-23 13:44:13 +03:00
Jinseong Jeon 07add635eb FIR2IR: generate synthetic members for data class only if needed 2020-04-23 13:44:13 +03:00
Vladimir Ilmov acced52384 (CoroutineDebugger) Tests added for no creation stack frame information 2020-04-23 11:36:15 +02:00
Vladimir Ilmov 57214aa453 (CoroutineDebugger) Exception if no creationStackTrace available
#KT-38484 Fixed
2020-04-23 11:36:15 +02:00
Ilya Chernikov 8616864e6b Revert "Drop unnecessary dependency from embeddable compiler to daemon"
The commit breaks gradle plugin, because it relies on this dependency.
This reverts commit 86d47b49
2020-04-23 11:21:27 +02:00
Mark Punzalan b74652aa5b [FIR] Use ieee754equals for floating-point equality operations 2020-04-23 11:50:54 +03:00
Denis Zharkov d66281d11f FIR: Fix test data for spec test after c4b7ac994b 2020-04-23 11:24:49 +03:00
Ilya Kirillov 1a90866ce1 FIR: handle member scope for anonymous objects
#KT-37120 fixed
2020-04-23 10:38:41 +03:00
Ilya Kirillov fdfb544730 FIR: use Kotlin String constructors instead of java.lang ones
#KT-38437 fixed
2020-04-23 10:37:41 +03:00
Ilya Kirillov 9b943e3a5a FIR: fix Long primitive type JVM signature 2020-04-23 10:37:41 +03:00
nataliya.valtman f9ebce331c remove execOperation for compiler workers 2020-04-23 07:59:57 +03:00
Abduqodiri Qurbonzoda 5af76a07d4 Fix CharArray sort in JS IR-backend 2020-04-22 23:46:50 +03:00
Ilya Chernikov 284d413603 Fix daemon test task name 2020-04-22 21:49:39 +02:00
Nikolay Krasko b439dd62c5 Allow to force snapshot build 2020-04-22 21:19:35 +03:00
Vladimir Ilmov 9b0e37f627 (CoroutineDebugger) Minor issued fixed, log level adjusted for missing classes in JVM. 2020-04-22 17:44:11 +02:00
Mads Ager eec3263518 [psi2ir] Properly link corresponding property symbols.
Do not rely on PatchDeclarationParents to do so.
2020-04-22 16:26:59 +02:00
Mads Ager 8bc360fa0c Properly link properties and their getter/setters.
This allows removing a hack in the MethodSignatureMapper.

When introducing non-getter methods that dispatch to a getter
we have to be careful to use the right name.

DeepCopyIrTreeWithSymbols should create the link between new
properties and their new getter/setter.
2020-04-22 16:26:59 +02:00
Ilya Goncharov ac11bc6710 [Gradle, JS] Remove copypaste in js compiler argument
#KT-38485 fixed
2020-04-22 16:34:14 +03:00
Ilya Goncharov 8e282e8aad [Gradle, JS] Change byArgument on byArgumentOrNull
#KT-38485 fixed
2020-04-22 16:33:41 +03:00
Ilya Goncharov 47c27726b9 [Gradle, JS] Fix test
#KT-38485 fixed
2020-04-22 16:33:22 +03:00
Ilya Goncharov c7f7f2bcbb [Gradle, JS] Add string sompiler setting in js plugin
#KT-38485 fixed
2020-04-22 16:33:03 +03:00
Ilya Chernikov dfb8fea2c7 Fix project structure after moving daemon tests to separate project 2020-04-22 15:15:45 +02:00
Mikhail Zarechenskiy 0b227c1d66 Explicitly disable suspend-conversion while work in BE isn't ready 2020-04-22 16:10:45 +03:00
Mikhail Zarechenskiy cb975bde7c Add test for questionable chained fun -> suspend conversion 2020-04-22 16:10:45 +03:00
Mikhail Zarechenskiy ac642cf175 Support suspend conversion in callable reference adaptation
#KT-15917 In Progress
2020-04-22 16:10:45 +03:00
Mikhail Zarechenskiy 537a59d6ca Introduce basic suspend conversion in FE
#KT-15917 In Progress
2020-04-22 16:10:44 +03:00
Mikhail Zarechenskiy 9e04ebdace Minor: fix typo 2020-04-22 14:27:40 +03:00
Anton Bannykh de25d13f1a JS: fix JsName renamer (KT-36484 fixed)
The following code was treated incorrectly:
```
function (_) {

  function foo() {
      try {} catch (_) {}
      try {} catch (_) {}
  }

  // _ is linked to the catch parameter here
}
```
2020-04-22 14:08:24 +03:00
Igor Yakovlev 7d917634d0 Remove object name and type in project view 2020-04-22 12:28:28 +03:00
Igor Yakovlev 72303fd2ad Fixed possible NPE in LightClasses
Fixed #EA-218014
2020-04-22 12:26:51 +03:00
Igor Yakovlev 8a7aac728d Fix invalid signature for UL method
Fixed #KT-32245
2020-04-22 12:26:51 +03:00
Igor Yakovlev ed3ae785fb Fix invalid signature for generic UL method
Fixed #KT-38348
2020-04-22 12:26:51 +03:00
Ilya Muradyan 6f40ad7de2 Add test for not evaluated snippet 2020-04-22 11:07:32 +02:00
Ilya Muradyan ea1a6fbee7 Add history consistency check 2020-04-22 11:07:32 +02:00
Ilya Muradyan e5ca572b91 Forward diagnostics to the evaluation result 2020-04-22 11:07:32 +02:00
Natalia Selezneva 962a767e54 Set jvm target for scratch files
#KT-38455 fixed
2020-04-22 08:31:07 +02:00