Skip to content

Commit

Permalink
Fix error introduced during rebasing.
Browse files Browse the repository at this point in the history
  • Loading branch information
chungyc committed Oct 2, 2024
1 parent fffa57d commit 53e3d1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions proto-lens-protoc/app/Data/ProtoLens/Compiler/Definitions.hs
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,9 @@ This includes the file-scope options which override
the feature defaults for an edition.
-}
fileFeatures :: FileDescriptorProto -> Either Text FeatureSet
fileFeatures f =
fileFeatures f = do
edition <- fileEdition f
features <- featuresForEdition
features <- featuresForEdition edition
return $ case f ^. #options . #maybe'features of
Just overrides -> overrides `mergedInto` features
Nothing -> features
Expand Down

0 comments on commit 53e3d1b

Please sign in to comment.