chore: Version 0.3 #136

Open
aniva wants to merge 606 commits from dev into main
1 changed files with 4 additions and 3 deletions
Showing only changes of commit 8797bbe245 - Show all commits

View File

@ -16,11 +16,12 @@ def runFrontend { α } (source: String) (f : Frontend.CompilationStep → IO α)
def test_open : TestT MetaM Unit := do def test_open : TestT MetaM Unit := do
let sketch := " let sketch := "
open Nat open Nat
example : ∀ (n m: Nat), n + m = m + n := by example : ∀ (n : Nat), n + 1 = Nat.succ n := by
apply add_comm intro
apply add_one
" "
let errors ← runFrontend sketch λ step => step.msgs.mapM (·.toString) let errors ← runFrontend sketch λ step => step.msgs.mapM (·.toString)
checkEq "errors" errors [[]] checkEq "errors" errors [[], []]
def collectSorrysFromSource (source: String) (options : Frontend.GoalCollectionOptions := {}) def collectSorrysFromSource (source: String) (options : Frontend.GoalCollectionOptions := {})
: MetaM (List GoalState) := do : MetaM (List GoalState) := do