swift
30a30e1f - Pull SE-0081 into Swift 3.0 Preview 1 (#2850)

Commit
9 years ago
Pull SE-0081 into Swift 3.0 Preview 1 (#2850) * Implement parser support for SE-0081 - Move 'where' clause to end of declaration This patch includes testsuite changes to show each of the decls supported. Next step is to migrate the stdlib + testsuite + corelibs: I'd would *greatly* appreciate help with this. After that is done, deprecation + migration of the old form can happen. * My recent patch "broke" these tests, but allowing the syntax in them to trigger existing generics bugs.
Author
Parents
  • File
    CHANGELOG.md
  • include/swift/Parse
    • File
      Parser.h
  • lib/Parse
    • File
      ParseDecl.cpp
    • File
      ParseGeneric.cpp
  • test
    • Generics
      • File
        associated_self_constraints.swift
      • File
        function_defs.swift
      • File
        generic_types.swift
    • IRGen
      • File
        mixed_objc_native_protocol_constraints.swift
    • decl
      • File
        nested.swift
      • typealias
        • File
          typealias.swift
  • validation-test/compiler_crashers
    • File
      01036-swift-modulefile-lookupvalue.swift
    • File
      01879-swift-nominaltypedecl-getdeclaredtypeincontext.swift
    • File
      01904-swift-type-transform.swift
    • File
      01934-swift-typebase-gettypevariables.swift
    • File
      02233-swift-constraints-constraintsystem-lookthroughimplicitlyunwrappedoptionaltype.swift
    • File
      02242-swift-functiontype-get.swift
    • File
      26339-llvm-ondiskchainedhashtable-swift-modulefile-decltableinfo-find.swift