Skip to content

Commit

Permalink
Fix warnig regarding anyobject
Browse files Browse the repository at this point in the history
  • Loading branch information
nerdsupremacist committed Dec 19, 2021
1 parent 3e27d32 commit 1de1331
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Syntax/Internals/ScannerState.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ struct ExpressionScanResult {
let state: ScannerState
}

private protocol ScannerStateStorage: class {
private protocol ScannerStateStorage: AnyObject {
var allowErrorHandling: Bool { get }

var lastDiagnosticError: DiagnosticError? { get }
Expand Down

0 comments on commit 1de1331

Please sign in to comment.