swift
2fbdad72 - Don't perform `@preconcurrency` typealias adjustments in `@preconcurrency` decls

Commit
2 years ago
Don't perform `@preconcurrency` typealias adjustments in `@preconcurrency` decls When a `@preconcurrency` typealias is used within the type of a `@preconcurrency` declaration, such as a function, do not strip concurrency-related types, because the stripping will happen in the outer declaration. Fixes https://github.com/apple/swift/issues/60488.
Author
Committer
Parents
  • lib/Sema
    • File
      TypeCheckDecl.cpp
    • File
      TypeCheckType.cpp
    • File
      TypeCheckType.h
  • test/Concurrency
    • File
      preconcurrency_typealias.swift