Skip to content

Commit

Permalink
Remove private annotations on constructors.
Browse files Browse the repository at this point in the history
Keep things simple for now, we could introduce this on demand.
  • Loading branch information
yav committed Jan 24, 2024
1 parent a9c7751 commit 8abf33f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Cryptol/Parser.y
Original file line number Diff line number Diff line change
Expand Up @@ -469,8 +469,6 @@ enum_body :: { [TopLevel (EnumCon PName)] }
enum_con :: { TopLevel (EnumCon PName) }
: app_type {% mkConDecl Nothing Public $1 }
| doc app_type {% mkConDecl (Just $1) Public $2 }
| 'private' 'v{' app_type 'v}' {% mkConDecl Nothing Private $3 }
| doc 'private' 'v{' app_type 'v}' {% mkConDecl (Just $1) Private $4 }

vars_comma :: { [ LPName ] }
: var { [ $1] }
Expand Down

0 comments on commit 8abf33f

Please sign in to comment.