mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
When a generic parameter list fails to parse, we don't call DeclContext::setGenericParams(), even though the generic parameters are still available for name lookup. This causes various crashes, which this patch fixes by mapping the generic parameters to ErrorTypes.
434 B
434 B