Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Mathport/Syntax/Parse.lean
Original file line number Diff line number Diff line change
Expand Up @@ -891,6 +891,7 @@ instance : FromJson RawGoal where
structure RawTacticState where
decl : Name
goals : Array RawGoal
pp : Option String -- Note: we do not propagate this to AST3.TacticState
deriving FromJson

deriving instance FromJson for AST3.Comment
Expand Down Expand Up @@ -1015,7 +1016,7 @@ def RawGoal.build : RawGoal → AST3.Goal
| ⟨hyps, target⟩ => ⟨hyps.map (·.build exprs), exprs[target]⟩

def RawTacticState.build : RawTacticState → Name × Array AST3.Goal
| ⟨declName, goals⟩ => (declName, goals.map (·.build exprs))
| ⟨declName, goals, _⟩ => (declName, goals.map (·.build exprs))

def RawTacticInvocation.build
(states : Array (Name × Array AST3.Goal))
Expand Down