示例工程 59-capstone-polish-and-animation

59-capstone-polish-and-animation/Diagnostics/ShortcutKeyInt.swift

swift · 0.2 KB

// 故意编译失败:快捷键的 key 是字符串,不能赋整数。
// 复现:swiftc -typecheck Diagnostics/ShortcutKeyInt.swift
let key: String = 42