示例工程 58-capstone-data-and-navigation

58-capstone-data-and-navigation/Diagnostics/README.md

markdown · 0.3 KB

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