mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Generic params of typerefs are supposed to be "attached" on the level they belong, not as a flat list, unlike other parts of the system. Fix the application of bound generic params by checking how many were already applied in the hierarchy and ignoring those already attached.