-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4fb232c
commit 23fe6f5
Showing
58 changed files
with
569 additions
and
176 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration default="false" name="1.9.20/Tests/Acceptance/All" type="GradleRunConfiguration" factoryName="Gradle" folderName="1.9.20"> | ||
<ExternalSystemSettings> | ||
<option name="executionName" /> | ||
<option name="externalProjectPath" value="$PROJECT_DIR$" /> | ||
<option name="externalSystemIdString" value="GRADLE" /> | ||
<option name="scriptParameters" value="" /> | ||
<option name="taskDescriptions"> | ||
<list /> | ||
</option> | ||
<option name="taskNames"> | ||
<list> | ||
<option value=":acceptance-tests:functional__kgp_1.9.20Test" /> | ||
</list> | ||
</option> | ||
<option name="vmOptions" /> | ||
</ExternalSystemSettings> | ||
<ExternalSystemDebugServerProcess>false</ExternalSystemDebugServerProcess> | ||
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess> | ||
<DebugAllEnabled>false</DebugAllEnabled> | ||
<RunAsTest>false</RunAsTest> | ||
<method v="2" /> | ||
</configuration> | ||
</component> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration default="false" name="1.9.20/Tests/Acceptance/Failed" type="GradleRunConfiguration" factoryName="Gradle" folderName="1.9.20"> | ||
<ExternalSystemSettings> | ||
<option name="env"> | ||
<map> | ||
<entry key="failedOnly" value="" /> | ||
</map> | ||
</option> | ||
<option name="executionName" /> | ||
<option name="externalProjectPath" value="$PROJECT_DIR$" /> | ||
<option name="externalSystemIdString" value="GRADLE" /> | ||
<option name="scriptParameters" value="" /> | ||
<option name="taskDescriptions"> | ||
<list /> | ||
</option> | ||
<option name="taskNames"> | ||
<list> | ||
<option value=":acceptance-tests:functional__kgp_1.9.20Test" /> | ||
</list> | ||
</option> | ||
<option name="vmOptions" /> | ||
</ExternalSystemSettings> | ||
<ExternalSystemDebugServerProcess>false</ExternalSystemDebugServerProcess> | ||
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess> | ||
<DebugAllEnabled>false</DebugAllEnabled> | ||
<RunAsTest>false</RunAsTest> | ||
<method v="2" /> | ||
</configuration> | ||
</component> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration default="false" name="1.9.20/Tests/Acceptance/Selected" type="GradleRunConfiguration" factoryName="Gradle" folderName="1.9.20"> | ||
<ExternalSystemSettings> | ||
<option name="env"> | ||
<map> | ||
<entry key="acceptanceTest" value="enums/interactions/suspend" /> | ||
</map> | ||
</option> | ||
<option name="executionName" /> | ||
<option name="externalProjectPath" value="$PROJECT_DIR$" /> | ||
<option name="externalSystemIdString" value="GRADLE" /> | ||
<option name="scriptParameters" value="" /> | ||
<option name="taskDescriptions"> | ||
<list /> | ||
</option> | ||
<option name="taskNames"> | ||
<list> | ||
<option value=":acceptance-tests:functional__kgp_1.9.20Test" /> | ||
</list> | ||
</option> | ||
<option name="vmOptions" /> | ||
</ExternalSystemSettings> | ||
<ExternalSystemDebugServerProcess>false</ExternalSystemDebugServerProcess> | ||
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess> | ||
<DebugAllEnabled>false</DebugAllEnabled> | ||
<RunAsTest>false</RunAsTest> | ||
<method v="2" /> | ||
</configuration> | ||
</component> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration default="false" name="1.9.20/Tests/Libraries/All" type="GradleRunConfiguration" factoryName="Gradle" folderName="1.9.20"> | ||
<ExternalSystemSettings> | ||
<option name="executionName" /> | ||
<option name="externalProjectPath" value="$PROJECT_DIR$/acceptance-tests" /> | ||
<option name="externalSystemIdString" value="GRADLE" /> | ||
<option name="scriptParameters" value="" /> | ||
<option name="taskDescriptions"> | ||
<list /> | ||
</option> | ||
<option name="taskNames"> | ||
<list> | ||
<option value="libraries__kgp_1.9.20Test" /> | ||
</list> | ||
</option> | ||
<option name="vmOptions" /> | ||
</ExternalSystemSettings> | ||
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess> | ||
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess> | ||
<DebugAllEnabled>false</DebugAllEnabled> | ||
<RunAsTest>false</RunAsTest> | ||
<method v="2" /> | ||
</configuration> | ||
</component> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration default="false" name="1.9.20/Tests/Libraries/Compare" type="GradleRunConfiguration" factoryName="Gradle" folderName="1.9.20"> | ||
<ExternalSystemSettings> | ||
<option name="executionName" /> | ||
<option name="externalProjectPath" value="$PROJECT_DIR$/acceptance-tests" /> | ||
<option name="externalSystemIdString" value="GRADLE" /> | ||
<option name="scriptParameters" value="" /> | ||
<option name="taskDescriptions"> | ||
<list /> | ||
</option> | ||
<option name="taskNames"> | ||
<list> | ||
<option value="pure__kgp_1.9.20Test" /> | ||
<option value="libraries__kgp_1.9.20Test" /> | ||
<option value="comparePureAndSkie__kgp_1.9.20" /> | ||
</list> | ||
</option> | ||
<option name="vmOptions" /> | ||
</ExternalSystemSettings> | ||
<ExternalSystemDebugServerProcess>false</ExternalSystemDebugServerProcess> | ||
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess> | ||
<DebugAllEnabled>false</DebugAllEnabled> | ||
<RunAsTest>false</RunAsTest> | ||
<method v="2" /> | ||
</configuration> | ||
</component> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration default="false" name="1.9.20/Tests/Libraries/Failed" type="GradleRunConfiguration" factoryName="Gradle" folderName="1.9.20"> | ||
<ExternalSystemSettings> | ||
<option name="env"> | ||
<map> | ||
<entry key="failedOnly" value="" /> | ||
</map> | ||
</option> | ||
<option name="executionName" /> | ||
<option name="externalProjectPath" value="$PROJECT_DIR$/acceptance-tests" /> | ||
<option name="externalSystemIdString" value="GRADLE" /> | ||
<option name="scriptParameters" value="" /> | ||
<option name="taskDescriptions"> | ||
<list /> | ||
</option> | ||
<option name="taskNames"> | ||
<list> | ||
<option value="libraries__kgp_1.9.20Test" /> | ||
</list> | ||
</option> | ||
<option name="vmOptions" /> | ||
</ExternalSystemSettings> | ||
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess> | ||
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess> | ||
<DebugAllEnabled>false</DebugAllEnabled> | ||
<RunAsTest>false</RunAsTest> | ||
<method v="2" /> | ||
</configuration> | ||
</component> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration default="false" name="1.9.20/Tests/Libraries/Selected Library" type="GradleRunConfiguration" factoryName="Gradle" folderName="1.9.20"> | ||
<ExternalSystemSettings> | ||
<option name="env"> | ||
<map> | ||
<entry key="libraryTest" value="" /> | ||
<entry key="onlyIndices" value="1000-1500" /> | ||
</map> | ||
</option> | ||
<option name="executionName" /> | ||
<option name="externalProjectPath" value="$PROJECT_DIR$/acceptance-tests" /> | ||
<option name="externalSystemIdString" value="GRADLE" /> | ||
<option name="scriptParameters" value="" /> | ||
<option name="taskDescriptions"> | ||
<list /> | ||
</option> | ||
<option name="taskNames"> | ||
<list> | ||
<option value="libraries__kgp_1.9.20Test" /> | ||
</list> | ||
</option> | ||
<option name="vmOptions" /> | ||
</ExternalSystemSettings> | ||
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess> | ||
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess> | ||
<DebugAllEnabled>false</DebugAllEnabled> | ||
<RunAsTest>false</RunAsTest> | ||
<method v="2" /> | ||
</configuration> | ||
</component> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration default="false" name="1.9.20/Tests/Libraries/Stdlib" type="GradleRunConfiguration" factoryName="Gradle" folderName="1.9.20"> | ||
<ExternalSystemSettings> | ||
<option name="executionName" /> | ||
<option name="externalProjectPath" value="$PROJECT_DIR$/acceptance-tests" /> | ||
<option name="externalSystemIdString" value="GRADLE" /> | ||
<option name="scriptParameters" value="" /> | ||
<option name="taskDescriptions"> | ||
<list /> | ||
</option> | ||
<option name="taskNames"> | ||
<list> | ||
<option value="stdlib__kgp_1.9.20Test" /> | ||
</list> | ||
</option> | ||
<option name="vmOptions" /> | ||
</ExternalSystemSettings> | ||
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess> | ||
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess> | ||
<DebugAllEnabled>false</DebugAllEnabled> | ||
<RunAsTest>false</RunAsTest> | ||
<method v="2" /> | ||
</configuration> | ||
</component> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration default="false" name="1.9.20/Tests/Libraries/Without SKIE" type="GradleRunConfiguration" factoryName="Gradle" folderName="1.9.20"> | ||
<ExternalSystemSettings> | ||
<option name="executionName" /> | ||
<option name="externalProjectPath" value="$PROJECT_DIR$/acceptance-tests" /> | ||
<option name="externalSystemIdString" value="GRADLE" /> | ||
<option name="scriptParameters" value="" /> | ||
<option name="taskDescriptions"> | ||
<list /> | ||
</option> | ||
<option name="taskNames"> | ||
<list> | ||
<option value="pure__kgp_1.9.20Test" /> | ||
</list> | ||
</option> | ||
<option name="vmOptions" /> | ||
</ExternalSystemSettings> | ||
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess> | ||
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess> | ||
<DebugAllEnabled>false</DebugAllEnabled> | ||
<RunAsTest>false</RunAsTest> | ||
<method v="2" /> | ||
</configuration> | ||
</component> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration default="false" name="1.9.20/Tests/Types/All" type="GradleRunConfiguration" factoryName="Gradle" folderName="1.9.20"> | ||
<ExternalSystemSettings> | ||
<option name="executionName" /> | ||
<option name="externalProjectPath" value="$PROJECT_DIR$" /> | ||
<option name="externalSystemIdString" value="GRADLE" /> | ||
<option name="scriptParameters" value="" /> | ||
<option name="taskDescriptions"> | ||
<list /> | ||
</option> | ||
<option name="taskNames"> | ||
<list> | ||
<option value=":acceptance-tests:type-mapping__kgp_1.9.20Test" /> | ||
</list> | ||
</option> | ||
<option name="vmOptions" /> | ||
</ExternalSystemSettings> | ||
<ExternalSystemDebugServerProcess>false</ExternalSystemDebugServerProcess> | ||
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess> | ||
<DebugAllEnabled>false</DebugAllEnabled> | ||
<RunAsTest>false</RunAsTest> | ||
<method v="2" /> | ||
</configuration> | ||
</component> |
Submodule acceptance-tests
updated
from 84e534 to c6926e
36 changes: 36 additions & 0 deletions
36
...0..1.9.0/kotlin/co/touchlab/skie/kir/util/SymbolTableDescriptorExtensionShim.kgp_1.9.0.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
package co.touchlab.skie.kir.util | ||
|
||
import org.jetbrains.kotlin.descriptors.CallableDescriptor | ||
import org.jetbrains.kotlin.descriptors.ClassConstructorDescriptor | ||
import org.jetbrains.kotlin.descriptors.ClassDescriptor | ||
import org.jetbrains.kotlin.descriptors.FunctionDescriptor | ||
import org.jetbrains.kotlin.descriptors.PropertyDescriptor | ||
import org.jetbrains.kotlin.ir.ObsoleteDescriptorBasedAPI | ||
import org.jetbrains.kotlin.ir.symbols.IrClassSymbol | ||
import org.jetbrains.kotlin.ir.symbols.IrConstructorSymbol | ||
import org.jetbrains.kotlin.ir.symbols.IrFunctionSymbol | ||
import org.jetbrains.kotlin.ir.symbols.IrPropertySymbol | ||
import org.jetbrains.kotlin.ir.symbols.IrSimpleFunctionSymbol | ||
import org.jetbrains.kotlin.ir.util.ReferenceSymbolTable | ||
import org.jetbrains.kotlin.ir.util.referenceFunction | ||
|
||
@OptIn(ObsoleteDescriptorBasedAPI::class) | ||
actual class SymbolTableDescriptorExtensionShim actual constructor( | ||
private val symbolTable: ReferenceSymbolTable | ||
) { | ||
|
||
actual fun referenceFunction(callable: CallableDescriptor): IrFunctionSymbol = | ||
symbolTable.referenceFunction(callable) | ||
|
||
actual fun referenceProperty(descriptor: PropertyDescriptor): IrPropertySymbol = | ||
symbolTable.referenceProperty(descriptor) | ||
|
||
actual fun referenceSimpleFunction(descriptor: FunctionDescriptor): IrSimpleFunctionSymbol = | ||
symbolTable.referenceSimpleFunction(descriptor) | ||
|
||
actual fun referenceConstructor(descriptor: ClassConstructorDescriptor): IrConstructorSymbol = | ||
symbolTable.referenceConstructor(descriptor) | ||
|
||
actual fun referenceClass(descriptor: ClassDescriptor): IrClassSymbol = | ||
symbolTable.referenceClass(descriptor) | ||
} |
14 changes: 13 additions & 1 deletion
14
...ie/phases/analytics/compiler/specific/SpecificCompilerConfigurationAnalytics.kgp_1.8.0.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,17 @@ | ||
package co.touchlab.skie.phases.analytics.compiler.specific | ||
|
||
import co.touchlab.skie.phases.analytics.util.toPrettyJson | ||
import kotlinx.serialization.Serializable | ||
import org.jetbrains.kotlin.backend.konan.KonanConfig | ||
import org.jetbrains.kotlin.backend.konan.KonanConfigKeys | ||
|
||
actual fun KonanConfig.getSpecificCompilerConfigurationAnalytics(): String = | ||
AnalyticsData( | ||
garbageCollector = configuration.get(KonanConfigKeys.GARBAGE_COLLECTOR)?.toString(), | ||
).toPrettyJson() | ||
|
||
@Serializable | ||
private data class AnalyticsData( | ||
val garbageCollector: String?, | ||
) | ||
|
||
actual fun KonanConfig.getSpecificCompilerConfigurationAnalytics(): String = "{}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
36 changes: 36 additions & 0 deletions
36
..._1.9.20/kotlin/co/touchlab/skie/kir/util/SymbolTableDescriptorExtensionShim.kgp_1.9.20.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
package co.touchlab.skie.kir.util | ||
|
||
import org.jetbrains.kotlin.descriptors.CallableDescriptor | ||
import org.jetbrains.kotlin.descriptors.ClassConstructorDescriptor | ||
import org.jetbrains.kotlin.descriptors.ClassDescriptor | ||
import org.jetbrains.kotlin.descriptors.FunctionDescriptor | ||
import org.jetbrains.kotlin.descriptors.PropertyDescriptor | ||
import org.jetbrains.kotlin.ir.ObsoleteDescriptorBasedAPI | ||
import org.jetbrains.kotlin.ir.symbols.IrClassSymbol | ||
import org.jetbrains.kotlin.ir.symbols.IrConstructorSymbol | ||
import org.jetbrains.kotlin.ir.symbols.IrFunctionSymbol | ||
import org.jetbrains.kotlin.ir.symbols.IrPropertySymbol | ||
import org.jetbrains.kotlin.ir.symbols.IrSimpleFunctionSymbol | ||
import org.jetbrains.kotlin.ir.util.ReferenceSymbolTable | ||
import org.jetbrains.kotlin.ir.util.referenceFunction | ||
|
||
@OptIn(ObsoleteDescriptorBasedAPI::class) | ||
actual class SymbolTableDescriptorExtensionShim actual constructor( | ||
private val symbolTable: ReferenceSymbolTable | ||
) { | ||
|
||
actual fun referenceFunction(callable: CallableDescriptor): IrFunctionSymbol = | ||
symbolTable.referenceFunction(callable) | ||
|
||
actual fun referenceProperty(descriptor: PropertyDescriptor): IrPropertySymbol = | ||
symbolTable.descriptorExtension.referenceProperty(descriptor) | ||
|
||
actual fun referenceSimpleFunction(descriptor: FunctionDescriptor): IrSimpleFunctionSymbol = | ||
symbolTable.descriptorExtension.referenceSimpleFunction(descriptor) | ||
|
||
actual fun referenceConstructor(descriptor: ClassConstructorDescriptor): IrConstructorSymbol = | ||
symbolTable.descriptorExtension.referenceConstructor(descriptor) | ||
|
||
actual fun referenceClass(descriptor: ClassDescriptor): IrClassSymbol = | ||
symbolTable.descriptorExtension.referenceClass(descriptor) | ||
} |
File renamed without changes.
Oops, something went wrong.