mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +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.
414 B
414 B