// 故意编译失败:lazy 只能修饰 var。 // 复现:swiftc Diagnostics/LazyLet.swift struct Report { lazy let total = 1 } print(Report().total)