示例工程 50-app-store-testflight

50-app-store-testflight/Diagnostics/README.md

markdown · 0.3 KB

# Diagnostics
 
两个文件**故意编译失败**,用来复现第 50 章「报错现场」的真实诊断。
 
```bash
swiftc -typecheck Diagnostics/URLFromInt.swift       # error: cannot convert 'Int' to 'String'
swiftc -typecheck Diagnostics/PathComponentInt.swift # error: cannot convert 'Int' to 'String'
```