mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
For config condition `canImport(Foo, version: N)`, this patch teaches the compiler to check N against the version of the Swift module Foo on disk. It returns true if the module version on disk is greater or equal to N and returns false otherwise. Part of rdar://73992299