We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Syntax.Info.info
nonisolated(unsafe)
1 parent d2f9554 commit 739e0f9Copy full SHA for 739e0f9
Sources/SwiftSyntax/Syntax.swift
@@ -46,7 +46,7 @@ public struct Syntax: SyntaxProtocol, SyntaxHashable {
46
/// - Important: Must only be set to `nil` when `Syntax.Info` is used in a memory recycling pool
47
/// (eg. in `SyntaxVisitor`). In that case the `Syntax.Info` is considered garbage memory that can be re-used
48
/// later. `info` needs to be set to a real value when `Syntax.Info` is recycled from the memory recycling pool.
49
- var info: InfoImpl!
+ nonisolated(unsafe) var info: InfoImpl!
50
}
51
52
/// Reference to the node's parent or, if this node is the root of a tree, a reference to the `SyntaxArena` to keep
0 commit comments