mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Implicit casts are allowed to be constructed with a type, instead of a type repr. Constraint generation should honor that, and fallback to using cast type when repr is was not given.
19 lines
435 B
CMake
19 lines
435 B
CMake
|
|
add_swift_unittest(swiftSemaTests
|
|
SemaFixture.cpp
|
|
BindingInferenceTests.cpp
|
|
ConstraintGenerationTests.cpp
|
|
ConstraintSimplificationTests.cpp
|
|
UnresolvedMemberLookupTests.cpp
|
|
PlaceholderTypeInferenceTests.cpp
|
|
SolutionFilteringTests.cpp)
|
|
|
|
target_link_libraries(swiftSemaTests
|
|
PRIVATE
|
|
swiftAST
|
|
swiftSema
|
|
swiftSerialization)
|
|
|
|
target_compile_definitions(swiftSemaTests PRIVATE
|
|
SWIFTLIB_DIR=\"${SWIFTLIB_DIR}\")
|