Skip to content

Commit

Permalink
Add missing quotes in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
kyouko-taiga committed Aug 4, 2024
1 parent c48c53b commit 9a94164
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/IR/Emitter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2516,7 +2516,7 @@ struct Emitter {
private func unexpectedCoercion(
from lhs: AnyType, to rhs: AnyType, file: StaticString = #file, line: UInt = #line
) -> Never {
fatalError("unexpected coercion from '\(lhs)' to \(rhs)", file: file, line: line)
fatalError("unexpected coercion from '\(lhs)' to '\(rhs)'", file: file, line: line)

Check warning on line 2519 in Sources/IR/Emitter.swift

View check run for this annotation

Codecov / codecov/patch

Sources/IR/Emitter.swift#L2519

Added line #L2519 was not covered by tests
}

/// Inserts the IR for converting `foreign` to a value of type `ir`.
Expand Down

0 comments on commit 9a94164

Please sign in to comment.