mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This new format more efficiently represents existing information, while more accurately encoding important information about nested generic contexts with same-type and layout constraints that need to be evaluated at runtime. It's also designed with an eye to forward- and backward-compatible expansion for ABI stability with future Swift versions.
10 lines
190 B
Swift
10 lines
190 B
Swift
// RUN: %target-swift-frontend -c -primary-file %s %S/Inputs/context_descriptor_cross_file_reference_2.swift -verify
|
|
|
|
extension X {
|
|
struct Y {}
|
|
}
|
|
|
|
func force_metadata() {
|
|
print(X.Y())
|
|
}
|