本文共 559 字,大约阅读时间需要 1 分钟。
Dotty 详细介绍
Dotty 是 Scala 的下一代编译器,也是 Scala 的新语言概念和编译器技术研究平台。具有以下特性:
Union, intersection and literal singleton types Implemented
Trait parameters Implemented@static methods and fields ImplementedSBT incremental build ImplementedOption-less pattern matching ImplementedAutomatic tupling of function parameters ImplementedMultiversal equality ImplementedPhantom types ImplementedImplicit function types ImplementedAuto-Specialization In progressWhole program optimizer In progressHList & HMaps/Record types In progressEffects Considered