Skip to content

Commit cc61a1f

Browse files
committed
[NFC] Basic: Fix default SUPPRESSIBLE_UPCOMING_FEATURE definition
1 parent 9c598e8 commit cc61a1f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/swift/Basic/Features.def

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the Swift.org open source project
44
//
5-
// Copyright (c) 2021 - 2023 Apple Inc. and the Swift project authors
5+
// Copyright (c) 2021 - 2025 Apple Inc. and the Swift project authors
66
// Licensed under Apache License v2.0 with Runtime Library Exception
77
//
88
// See https://swift.org/LICENSE.txt for license information
@@ -78,7 +78,7 @@
7878
// A feature that's both suppressible and upcoming.
7979
// Delegates to whichever the includer defines.
8080
#ifndef SUPPRESSIBLE_UPCOMING_FEATURE
81-
# if defined(SUPPRESSIBLE_UPCOMING_FEATURE) && \
81+
# if defined(SUPPRESSIBLE_LANGUAGE_FEATURE) && \
8282
defined(UPCOMING_FEATURE)
8383
# error ambiguous defines when including Features.def
8484
# elif defined(SUPPRESSIBLE_LANGUAGE_FEATURE)

0 commit comments

Comments
 (0)