Merge pull request #25280 from kevints/bump-to-5.0.2

Bump SWIFT_VERSION to 5.0.2
This commit is contained in:
Mishal Shah 2019-06-27 08:35:40 -07:00 коммит произвёл GitHub
Родитель 03d0363429 d3f699798d
Коммит b36d989479
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
3 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -128,7 +128,7 @@ set_property(CACHE SWIFT_ANALYZE_CODE_COVERAGE PROPERTY
# SWIFT_VERSION is deliberately /not/ cached so that an existing build directory
# can be reused when a new version of Swift comes out (assuming the user hasn't
# manually set it as part of their own CMake configuration).
set(SWIFT_VERSION "5.0.1")
set(SWIFT_VERSION "5.0.2")
set(SWIFT_VENDOR "" CACHE STRING
"The vendor name of the Swift compiler")

Просмотреть файл

@ -16,8 +16,8 @@ import Lib
func requiresConformance(_: B_RequiresConformance<B_ConformsToProto>) {}
func requiresConformance(_: B_RequiresConformance<C_RelyOnConformanceImpl.Assoc>) {}
class Sub: Base {} // expected-error {{cannot inherit from class 'Base' (compiled with Swift 5.0.1) because it has overridable members that could not be loaded in Swift 4.1.50}}
class Impl: Proto {} // expected-error {{type 'Impl' cannot conform to protocol 'Proto' (compiled with Swift 5.0.1) because it has requirements that could not be loaded in Swift 4.1.50}}
class Sub: Base {} // expected-error {{cannot inherit from class 'Base' (compiled with Swift 5.0.2) because it has overridable members that could not be loaded in Swift 4.1.50}}
class Impl: Proto {} // expected-error {{type 'Impl' cannot conform to protocol 'Proto' (compiled with Swift 5.0.2) because it has requirements that could not be loaded in Swift 4.1.50}}
#else // TEST

Просмотреть файл

@ -40,7 +40,7 @@ BUILD_VARIANT = 'Debug'
CMAKE_GENERATOR = 'Ninja'
COMPILER_VENDOR = 'none'
SWIFT_USER_VISIBLE_VERSION = CompilerVersion('5.0.1')
SWIFT_USER_VISIBLE_VERSION = CompilerVersion('5.0.2')
CLANG_USER_VISIBLE_VERSION = CompilerVersion('7.0.0')
SWIFT_ANALYZE_CODE_COVERAGE = 'false'