[lang-ref] ( determine_type_exact ) ( swift )

@Test func determineTypeExact() {
	class Parent {
	}
	class Child: Parent {
	}

	let parent: Parent = Parent()
	let child: Parent = Child()

	#expect(type(of: parent) == Parent.self)

	#expect(type(of: child) != Parent.self)
	#expect(type(of: child) == Child.self)
}