![](/img/trans.png)
[英]Why doesn't the compiler infer T(interface) to be class that implements T when having double bounded generic type?
[英]Kotlin: Compiler doesn't infer generic type for some operators
不幸的是,這是一個錯誤的結果: https : //youtrack.jetbrains.com/issue/KT-10453
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.