swift
7b9e5de7 - [SE-0095] simplifyTypeExpr for composition expressions

Commit
8 years ago
[SE-0095] simplifyTypeExpr for composition expressions Also adds: - Any is caught before doing an unconstrained lookup, and the protocol<> type is emitted - composition expressions can be handled by `PreCheckExpression::simplifyTypeExpr` to so you can do lookups like (P & Q).self - Fixits corrected & new tests added - Typeref lowering cases should have been optional - This fixes a failing test case.
Author
Committer
Parents
  • File
    CHANGELOG.md
  • include/swift/AST
    • File
      ASTContext.h
    • File
      DiagnosticsParse.def
    • File
      DiagnosticsSema.def
  • lib
    • AST
      • File
        ASTContext.cpp
    • Parse
      • File
        ParseDecl.cpp
      • File
        ParseType.cpp
    • Sema
      • File
        TypeCheckConstraints.cpp
      • File
        TypeCheckDecl.cpp
      • File
        TypeCheckType.cpp
  • stdlib/public/core
    • File
      Policy.swift
  • test
    • 1_stdlib
      • File
        TypeName.swift
    • Constraints
      • File
        ErrorProtocol_bridging.swift
    • Parse
      • File
        recovery.swift
    • Prototypes
      • Integers.swift.gyb
    • Reflection/Inputs
      • File
        TypeLowering.swift
    • SILGen
      • File
        mangling.swift
      • File
        metatypes.swift
    • decl
      • inherit
        • File
          inherit.swift
      • protocol
        • File
          protocols.swift
    • expr
      • File
        expressions.swift
    • type
      • File
        protocol_composition.swift
      • File
        protocol_types.swift