mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
If the initializer is in a different file than the original type, and the original type contains a stored property that has both an initializer *and* a declared type, then the initializer expression will not have been type checked. So we must look at the type of pattern, which should still be correct. Fixes <https://bugs.swift.org/browse/SR-3942> and <rdar://problem/25705157>.
58 B
58 B