ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、视频、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
编译器确保没有被遗漏的可能的case: > The compiler ensures that no possible cases are forgotten: ~~~ switch(true) { case false: } // Unmatched patterns: true ~~~ 匹配的类型 Bool 认可两个值 true 和false ,但是只有false被检查。 > The matched type Bool admits two values true and false, but only false is checked.