From 77d103ad7163afb99baf413cb1cfd50e5b25affe Mon Sep 17 00:00:00 2001 From: Yoo Chung Date: Wed, 2 Oct 2024 15:04:34 +0000 Subject: [PATCH] Update example for fileEdition. --- proto-lens-protoc/app/Data/ProtoLens/Compiler/Definitions.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proto-lens-protoc/app/Data/ProtoLens/Compiler/Definitions.hs b/proto-lens-protoc/app/Data/ProtoLens/Compiler/Definitions.hs index 5bf40638..5695a6ca 100644 --- a/proto-lens-protoc/app/Data/ProtoLens/Compiler/Definitions.hs +++ b/proto-lens-protoc/app/Data/ProtoLens/Compiler/Definitions.hs @@ -106,9 +106,9 @@ respectively, which will map to the equivalent feature set compatible with proto2 and proto3. >>> fileEdition $ defMessage & #syntax .~ "proto2" -EDITION_PROTO2 +Right EDITION_PROTO2 >>> fileEdition $ defMessage & #syntax .~ "proto3" -EDITION_PROTO3 +Right EDITION_PROTO3 -} fileEdition :: FileDescriptorProto -> Either Text Edition