Skip to content

Commit

Permalink
fix: update for lean4#5842 (#19)
Browse files Browse the repository at this point in the history
Now the structure being defined is available as a local variable, so some structure fields need to be qualified.
  • Loading branch information
kmill authored Oct 28, 2024
1 parent bf066c3 commit 039d23a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Cli/Basic.lean
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ section Configuration
-/
structure Flag where
/-- Associated flag meta-data. -/
flag : Flag
flag : Cli.Flag
/-- Parsed value that was validated and conforms to `flag.type`. -/
value : String
deriving Inhabited, BEq, Repr
Expand Down Expand Up @@ -393,7 +393,7 @@ section Configuration
-/
structure Arg where
/-- Associated argument meta-data. -/
arg : Arg
arg : Cli.Arg
/-- Parsed value that was validated and conforms to `arg.type`. -/
value : String
deriving Inhabited, BEq, Repr
Expand Down Expand Up @@ -1630,4 +1630,4 @@ section IO
end Cmd
end IO

end Cli
end Cli

0 comments on commit 039d23a

Please sign in to comment.