mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This updates the error message so that in the case where we can find a Decl, it gives the error "cannot assign through subscript: 'name' is a read-only key path", and in the case where there's no associated Decl, gives the error message "cannot assign through subscript: key path is read-only". Additionally updates tests with the new error messages and formats all changes.
1.1 KiB
1.1 KiB