@@ -250,7 +250,7 @@ fileprivate extension Syntax {
250
250
}
251
251
252
252
class PluginMacroExpansionContext {
253
- private var sourceManger : SourceManager
253
+ private var sourceManager : SourceManager
254
254
255
255
/// The lexical context of the macro expansion described by this context.
256
256
let lexicalContext : [ Syntax ]
@@ -272,7 +272,7 @@ class PluginMacroExpansionContext {
272
272
internal private( set) var diagnostics : [ Diagnostic ] = [ ]
273
273
274
274
init ( sourceManager: SourceManager , lexicalContext: [ Syntax ] , expansionDiscriminator: String = " " ) {
275
- self . sourceManger = sourceManager
275
+ self . sourceManager = sourceManager
276
276
self . lexicalContext = lexicalContext
277
277
self . expansionDiscriminator = expansionDiscriminator
278
278
}
@@ -316,7 +316,7 @@ extension PluginMacroExpansionContext: MacroExpansionContext {
316
316
at positionMode: PositionInSyntaxNode ,
317
317
filePathMode: SourceLocationFilePathMode
318
318
) -> AbstractSourceLocation ? {
319
- guard let location = sourceManger . location ( of: Syntax ( node) , at: positionMode, filePathMode: filePathMode) else {
319
+ guard let location = sourceManager . location ( of: Syntax ( node) , at: positionMode, filePathMode: filePathMode) else {
320
320
return nil
321
321
}
322
322
return AbstractSourceLocation ( location)
0 commit comments