Files
swift-mirror/lib/SIL/IR/AbstractionPattern.cpp
Andrew Trick 22646bd07c Fix AbstractionPattern::isNoncopyable to handle archetypes.
This fixes TypeLowering for ~Copyable generics, such as:

struct S<T: ~Copyable>: ~Copyable {
  var x: T
}

extension S: Copyable where T: Copyable  {}

func foo<T>(s: S<T>) -> ()

Previously, TypeLowering would ignore the implicit Copyable
requirement on the archetype 'T'.
2024-04-07 20:31:55 -07:00

103 KiB