Reified generics in Scala 2.10

前端 未结 3 927
轻奢々
轻奢々 2021-02-01 04:04

The lack of reified generics in Scala is the thing that bugs me the most about the language, since simple things cannot be implemented without using complicated constructs.

3条回答
  •  清酒与你
    2021-02-01 04:19

    According to what Andrey Breslav is saying on this page Kotlin does not have reified types:

    "Yes, type parameters are not available in class objects"

提交回复
热议问题