Compare commits

..

No commits in common. "7c28cf4ed0e118334377f5a7c173a0d455bb1666" and "a7aeb03b43cad5b4c30610c83ad510cca59f383f" have entirely different histories.

2 changed files with 3 additions and 2 deletions

View File

@ -22,7 +22,7 @@ def parseCommand (s: String): Except String Protocol.Command := do
return { cmd := s.take offset, payload := payload }
| .none => throw "Command is empty"
partial def loop : MainM Unit := do
unsafe def loop : MainM Unit := do
let state ← get
let command ← (← IO.getStdin).getLine
if command.trim.length = 0 then return ()

View File

@ -6,7 +6,8 @@ import Test.Serial
open Pantograph.Test
def main := do
unsafe def main := do
Lean.enableInitializersExecution
Lean.initSearchPath (← Lean.findSysroot)
let suites := [