@@ -56,7 +56,8 @@ public struct ErrorWithLocation: Errorable, Equatable, CustomStringConvertible {
|
|||||||
let prior_snipped = prior.trimmingPrefix(["\n"])
|
let prior_snipped = prior.trimmingPrefix(["\n"])
|
||||||
let after_snipped = after.prefix { $0 != "\n" }
|
let after_snipped = after.prefix { $0 != "\n" }
|
||||||
let include_list = fp.reversed().map {
|
let include_list = fp.reversed().map {
|
||||||
let at = if let whence = $0.whence {
|
let at =
|
||||||
|
if let whence = $0.whence {
|
||||||
" included at position \(whence) in"
|
" included at position \(whence) in"
|
||||||
} else {
|
} else {
|
||||||
""
|
""
|
||||||
|
|||||||
Reference in New Issue
Block a user