Make compatible with GHC2025
This commit is contained in:
@@ -133,7 +133,8 @@ collectMetrics fontFile ttfContents =
|
||||
(_processedState, Left initialResult) -> Left
|
||||
$ MetricsParseError initialResult
|
||||
(processedState, Right initialResult) -> do
|
||||
let parseForMetrics' = parseForMetrics processedState initialResult
|
||||
let parseForMetrics' :: String -> Parser a -> Either MetricsError a
|
||||
parseForMetrics' = parseForMetrics processedState initialResult
|
||||
|
||||
NameTable{ nameRecord, variable } <- parseForMetrics' "name" nameTableP
|
||||
psNameIndex <- maybeMetricsError (MetricsNameRecordNotFound 6)
|
||||
|
Reference in New Issue
Block a user