Was expecting: ```sealed class Element<T>(va...
# getting-started
s
Was expecting:
Copy code
sealed class Element<T>(val value: T)

object Test : Element(10) // expecting compiler somehow able to refer the implicit integer 10 value to resolve T
But actually need to explicitly declare the argument type to satisfy the compiler:
Copy code
object Test : Element<Int>(10)
Any reason why? Thank you.
e