mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Add a test case for Observable types that are extended from other source files. Prior to the recent changes to make `TypeRefinementContext` more lazy, this would trigger circular references through the `TypeRefinementContextBuilder`. Finishes rdar://112079160.
8 lines
156 B
Swift
8 lines
156 B
Swift
import Foundation
|
|
import Observation
|
|
|
|
@available(SwiftStdlib 5.9, *)
|
|
@Observable final public class ObservableClass {
|
|
public var state: State = .unused
|
|
}
|