closes #1634 This commit also changes the semantic of `tactic.focus [tac_1, ..., tac_n]`. It now fails if the number of goals is not `n`. Before it would only fail if there were more tactics than goals. @Armael: See tests/lean/run/handthen.lean for examples of the new notation.
5 lines
752 B
Text
5 lines
752 B
Text
{"msgs":[{"caption":"","file_name":"f","pos_col":2,"pos_line":4,"severity":"error","text":"focus tactic failed, insufficient number of tactics\nstate:\nb c : ℕ,\na_2 : b = 0\n⊢ b = 0"}],"response":"all_messages"}
|
||
{"message":"file invalidated","response":"ok","seq_num":0}
|
||
{"record":{"source":,"state":"a b c : ℕ,\na_1 : a = b,\na_2 : b = 0\n⊢ a = 0","tactic_param_idx":0,"tactic_params":["{ tactic }"],"text":"focus","type":"tactic.interactive.itactic → tactic unit"},"response":"ok","seq_num":5}
|
||
{"record":{"source":,"state":"b c : ℕ,\na_2 : b = 0\n⊢ b = 0","tactic_param_idx":0,"tactic_params":["{ tactic }"],"text":"focus","type":"tactic.interactive.itactic → tactic unit"},"response":"ok","seq_num":7}
|
||
{"response":"ok","seq_num":9}
|