mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
* In the DeclChecker, duplicate the check that we have a reasonable RawValue type so we do not attempt to form an invalid key. The interface to the autoincrementer has this as invariant, but it was not previously checked as a precondition. * In the deriver, try to check for the case where the user has written a mismatched explicit declaration of RawValue, or a type sharing that name, and check type equality with the declared raw type to make this pass resilient to mismatches as well. Resolves rdar://57072148, rdar://59703784
9.8 KiB
9.8 KiB