Gavin Ray
08/17/2022, 8:22 PMNew inference error [NewConstraintError at Incorporate TypeVariable(SELF) == CapturedType(*) from Fix variable TypeVariable(SELF) from position Fix variable TypeVariable(SELF): CapturedType(*) <!: ft<org/testcontainers/containers/MySQLContainer<ft<CapturedType(*) & Any, CapturedType(*)?>>, org/testcontainers/containers/MySQLContainer<ft<CapturedType(*) & Any, CapturedType(*)?>>?>]
Where that line is:
private val container = MySQLContainer(imageName).withInitScript(initScript)
And MySQL class definition is:
public class MySQLContainer<SELF extends MySQLContainer<SELF>> extends JdbcDatabaseContainer<SELF>
mglukhikh
08/18/2022, 6:35 AMGavin Ray
08/18/2022, 4:47 PM