Files
swift-mirror/test/decl/func/throwing_functions.swift
Hamish Knight 8af821d6fb [Sema] Treat a lazy property's synthesised getter as being a property initialiser for error handling diagnostics
The only code we should be diagnosing on in such a context is within the property's initialiser expression that has been transplanted from the var's pattern binding decl. We don't perform the analysis on the init expr while it's still a part of the original PBD, as it doesn't get a solution applied there.
2018-06-06 17:06:28 +01:00

9.8 KiB