// 故意编译失败:if let 只能绑定 Optional。 // 复现:swiftc Diagnostics/ConditionalBindingNonOptional.swift let name = "Ada" if let name { print(name) }