Skip to content

Commit 8e43cb1

Browse files
committed
feat: migration to modelix 15.4.2
1 parent a54aef5 commit 8e43cb1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mps-diff-plugin-test/src/test/kotlin/DiffPluginTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ class DiffPluginTest(val mpsVersion: String) {
9090
}
9191
}
9292

93-
private fun <T : GenericContainer<T>> T.withCopy(from: String, to: String): T {
93+
private fun GenericContainer<*>.withCopy(from: String, to: String): GenericContainer<*> {
9494
require(File(from).exists()) { "Doesn't exist: $from" }
9595
return withCopyFileToContainer(MountableFile.forHostPath(from), to)
9696
}

mps-generator-execution-plugin-test/src/test/kotlin/GeneratorPluginTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ class GeneratorPluginTest(val mpsVersion: String) {
8181
}
8282
}
8383

84-
private fun <T : GenericContainer<T>> T.withCopy(from: String, to: String): T {
84+
private fun GenericContainer<*>.withCopy(from: String, to: String): GenericContainer<*> {
8585
require(File(from).exists()) { "Doesn't exist: $from" }
8686
return withCopyFileToContainer(MountableFile.forHostPath(from), to)
8787
}

0 commit comments

Comments
 (0)