swift
d4c25f55 - [AST] Reject GenericFunctionType in TypeBase::getTypeOfMember

Commit
4 years ago
[AST] Reject GenericFunctionType in TypeBase::getTypeOfMember Remove the default argument for the `memberType` parameter and enforce that GenericFunctionType is not passed. Also add a defaulted overload for the property case, as they should never have a GenericFunctionType interface type.
Author
Parents
  • include/swift
    • AST
      • File
        Types.h
    • SIL
      • File
        AbstractionPattern.h
  • lib
    • AST
      • File
        Type.cpp
    • IDE
      • File
        TypeContextInfo.cpp
    • IRGen
      • File
        IRGenDebugInfo.cpp
    • SIL/IR
      • File
        AbstractionPattern.cpp
      • File
        SILType.cpp
      • File
        TypeLowering.cpp
    • Sema
      • File
        ConstraintSystem.cpp
      • File
        TypeCheckSwitchStmt.cpp