示例工程 15-property-wrappers
15-property-wrappers/Diagnostics/README.md
# Diagnostics
三个文件**故意编译失败**,用来复现第 15 章「报错现场」的真实诊断。
```bash
swiftc Diagnostics/MissingWrappedValue.swift # error: does not contain a 'wrappedValue' property
swiftc Diagnostics/ProjectedOnPlain.swift # error: cannot find '$number' in scope
swiftc Diagnostics/MissingWrapperArgument.swift # error: missing argument for parameter #2
```