mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This will also preserve @escaping and @autoclosure, which were previously dropped. This could lead to mismatches between expected and actual canonical types for serialization cross-references. https://bugs.swift.org/browse/SR-8045, likely others
7 lines
232 B
Swift
7 lines
232 B
Swift
// RUN: %empty-directory(%t)
|
|
// RUN: %target-build-swift -emit-module-path %t/main.swiftmodule -module-name main %s %S/Inputs/SR8045-other.swift
|
|
|
|
public class Sub: Super {
|
|
public override func foo(_ f: @escaping Alias<Bool>) {}
|
|
}
|