mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
The isDependentType() query is woefully misunderstood. Some places seem to want it to mean "a generic type parameter of dependent member type", which corresponds to what is effectively a type parameter in the language, while others want it to mean "contains a type parameter anywhere in the type". Tease out these two meanings in isTypeParameter() and hasTypeParameter(), respectively, and sort out the callers. Swift SVN r29945
54 KiB
54 KiB