- 29 11月, 2018 4 次提交
-
-
由 Alexander Prendota 提交于
-
由 Ilya Chernikov 提交于
move into background thread avoid parallel execution other refactorings #KT-27669 fixed
-
由 Ilya Chernikov 提交于
-
由 Ilya Chernikov 提交于
Since at least in gradle-imported projects, the template could be found in several modules, some of them - incomplete (parent/buildscript module) the previous logic of filtering for already processed templates and roots is incorrect, and therefore removed. Also fixes the exception in our project "cannot load script definition"
-
- 28 11月, 2018 36 次提交
-
-
由 Natalia Selezneva 提交于
Tests: synchronize script dependencies in the beginning of the test because it invalidates the tested psi file Fix for StandaloneScriptRunConfigurationTest.testOnFileMoveWithNonDefaultWorkingDir
-
由 Natalia Selezneva 提交于
-
由 Natalia Selezneva 提交于
Fix 'java.lang.AssertionError: PSI/document/model changes are not allowed during highlighting' For script when there are some new dependencies we are restarting highlighting (see ScriptDependenciesCache)
-
由 Natalia Selezneva 提交于
-
由 Natalia Selezneva 提交于
In non-gradle project kotlin-stdlib-sources.jar contains sources for common and jvm part, so both (expect and actual) declarations are present in the same library sources scope. We are moving expect declarations in the bottom of this list to avoid navigation on expect declaration when actual declaration is present in the same scope ^KT-28398 Fixed
-
由 Natalia Selezneva 提交于
-
由 Simon Ogorodnik 提交于
-
由 Dmitriy Dolovov 提交于
Issue #KT-28427:fixed
-
由 Toshiaki Kameyama 提交于
-
由 Dmitry Petrov 提交于
In the desugaring for compound assignment to a collection element, argument expression 'i' is mapped to value parameters 'iG' and 'iS' of corresponding 'get' and 'set' operators. In general, these value parameters can have different indices. This requires extra machinery in argument generation - that is, to be able to generate a particular expression argument using an arbitrary callback. In the vast majority of the cases this callback will just use the corresponding StatementGenerator to generate IR subtree for the provided expression. In case of 'get' and 'set' operator calls for an augmented assignment expression this will map corresponding argument expressions to pregenerated temporary variables. Thus, in the following context: ``` class A operator fun A.get(vararg xs: Int) = 0 operator fun A.set(i: Int, j: Int, v: Int) {} ``` statement `a[1, 2] += 3` will be desugared as (in a really pseudo Kotlin): ``` { val tmp_array = a val tmp_index0 = 1 val tmp_index1 = 2 tmp_array.set( i = tmp_index0, j = tmp_index1, v = tmp_array.get(xs = [tmp_index0, tmp_index1]).plus(3) ) } ```
-
由 Toshiaki Kameyama 提交于
#KT-28408 Fixed
-
由 Mikhail Glukhikh 提交于
-
由 Mikhail Glukhikh 提交于
-
由 Mikhail Glukhikh 提交于
-
由 Mikhail Glukhikh 提交于
-
由 Mikhail Glukhikh 提交于
-
由 Mikhail Glukhikh 提交于
-
由 Mikhail Glukhikh 提交于
This makes code a bit cleaner
-
由 Cuihtlauac ALVARADO 提交于
Update jcabi-aether dependency from 0.10.1 to 1.0-SNAPSHOT. In order to do that, add https://oss.sonatype.org/content/repositories/snapshots to the repositories in tools/kotlin-script-util/build.gradle.kts Script dependencies are resolved using jcabi-aether. Unfortunately "stable" release (0.10.1) does not support proxies. Therefore, script dependencies are not pulled behind a proxy. Issue is fixed in SNAPSHOT release of jcabi-aether. FIXED: KT-22363
-
由 Natalia Selezneva 提交于
Tests: synchronize script dependencies in the beggining of the test because it invalidates the tested psi file
-
由 Natalia Selezneva 提交于
Tests: replace immediate run with TransactionGuard.submitTransaction to fix write in write-unsafe context in tests
-
由 Sergey Rostov 提交于
Report about unsupported targets once per target type, show presentable chunks list and don't show more then 5 chunks. Example: "Native is not yet supported in IDEA internal build system. Please use Gradle to build a, b, c, d, e and 10 other (enable 'Delegate IDE build/run actions to Gradle' in Settings)." #KT-26980 Fixed #KT-28316 Fixed
-
由 Sergey Rostov 提交于
Make it the same as testJpsDaemonIC
-
由 Sergey Rostov 提交于
1. Checking for COMPILE_DAEMON_CUSTOM_RUN_FILES_PATH_FOR_TESTS was moved to COMPILE_DAEMON_DEFAULT_RUN_DIR_PATH. Looks like COMPILE_DAEMON_CUSTOM_RUN_FILES_PATH_FOR_TESTS was introduced incorrectly in 220fab0d. Checking of this property was added in DaemonOptions.runFilesPathOrDefault, while DaemonOptions.runFilesPath was internally used in runFilesPathOrDefault and in many other places. For example DaemonOptions.runFilesPath used to pass this option to daemon server. So daemon was started with runFilesPath that ignores COMPILE_DAEMON_CUSTOM_RUN_FILES_PATH_FOR_TESTS. 2. JpsKotlinCompilerRunner._jpsCompileServiceSession was leaked between tests. Fixed by extracting @TestOnly releaseCompileServiceSession() and calling it in tests tearDown() 3. The result of compileWithDaemon was ignored in compileWithDaemonOrFallback. So, the fallback was never called, and the FAIL_ON_FALLBACK_PROPERTY was actually was never worked. This was fixed. Also the message was improved to make it easier to find the original fail cause.
-
由 Sergey Rostov 提交于
KT-27285
-
由 Sergey Rostov 提交于
JPS: Report "Cyclically dependent modules should have same compiler" as build error rather than exception #KT-27285 Fixed
-
由 Sergey Rostov 提交于
-
由 Ilya Gorbunov 提交于
-
由 Ilya Gorbunov 提交于
Update exclusions after merging coroutines sources into stdlib.
-
由 Ilya Gorbunov 提交于
-
由 Ilya Gorbunov 提交于
-
由 Ilya Gorbunov 提交于
Restore experimental coroutine tests as they were before e22ca022 and compile and run them twice: - first time with LV=1.2 - second time with LV=1.3
-
由 Ilya Gorbunov 提交于
-
由 Georgy Bronnikov 提交于
This reverts commit d2396403.
-
由 Yan Zhulanow 提交于
The method is still actual in IDEA 181 and Android Studio 3.1/3.2.
-
由 Yan Zhulanow 提交于
-