@@ -250,7 +250,7 @@ fileprivate extension Syntax {
250250}
251251
252252class PluginMacroExpansionContext {
253- private var sourceManger : SourceManager
253+ private var sourceManager : SourceManager
254254
255255 /// The lexical context of the macro expansion described by this context.
256256 let lexicalContext : [ Syntax ]
@@ -272,7 +272,7 @@ class PluginMacroExpansionContext {
272272 internal private( set) var diagnostics : [ Diagnostic ] = [ ]
273273
274274 init ( sourceManager: SourceManager , lexicalContext: [ Syntax ] , expansionDiscriminator: String = " " ) {
275- self . sourceManger = sourceManager
275+ self . sourceManager = sourceManager
276276 self . lexicalContext = lexicalContext
277277 self . expansionDiscriminator = expansionDiscriminator
278278 }
@@ -316,7 +316,7 @@ extension PluginMacroExpansionContext: MacroExpansionContext {
316316 at positionMode: PositionInSyntaxNode ,
317317 filePathMode: SourceLocationFilePathMode
318318 ) -> 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 {
320320 return nil
321321 }
322322 return AbstractSourceLocation ( location)
0 commit comments