报告 then 作为标识符的用法。

then 这个词在 Scala 3 中被保留为关键字。 它作为标识符的用法已被弃用。 查看 SIP-12

示例:


  val then = "some text"