// 故意编译失败:Optional 不能直接调用内部值的方法。 // 复现:swiftc Diagnostics/CallOnOptional.swift let name: String? = nil print(name.isEmpty)