Skip to content

Commit f1607c9

Browse files
authored
Merge pull request #62948 from DougGregor/disable-macros-harder
Don't make older compilers parse @expression at all
2 parents 68760fc + 4b9615e commit f1607c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/core/Macros.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212

13-
#if hasAttribute(expression)
13+
#if compiler(>=5.8) && hasAttribute(expression)
1414
/// Specifies the module and type name for an externally-defined macro, which
1515
/// must conform to the appropriate set of `Macro` protocols.
1616
///

0 commit comments

Comments
 (0)