Commits

Manman Ren committed 97048e3d43b
SILParser: parsing generic code. Make sure we construct SILFunctionType for generic arguments of BoundGenericEnum. Otherwise we will have a type mismatch between SILFunctionType and FunctionType. This commit passes TypeResolutionOptions to a few helper functions: resolveTypeDecl, applyGenericTypeReprArgs, diagnoseUnknownType It will enable us to pass TypeResolutionOptions to TypeChecker::applyGenericArguments, and then pass it to vaildateType, instead of using a hard-coded None. rdar://14443287 Swift SVN r15152