I have a java class
public class CouchbaseContainer<SELF extends CouchbaseContainer<SELF>>
when i try to create object for this in kotlin
val couchbase = CouchbaseContainer()
Kotlin is throwing error
Type inference failed: Not enough information to infer parameter SELF in constructor CouchbaseContainer!> (). Pleasespecify it explicity
but i am able to create this object in Java as shown below :
CouchbaseContainer couchbase = new CouchbaseContainer();