mirror of
https://github.com/edwinb/Idris2-boot.git
synced 2024-12-18 02:11:32 +03:00
fix compilation error and stupid fallthough case
This commit is contained in:
parent
75b04d867b
commit
2ede4d2d01
@ -20,7 +20,7 @@ iputStrLn msg
|
||||
= do opts <- get ROpts
|
||||
case idemode opts of
|
||||
REPL False => coreLift $ putStrLn msg
|
||||
_ => pure ()
|
||||
REPL _ => pure ()
|
||||
IDEMode i _ f =>
|
||||
send f (SExpList [SymbolAtom "write-string",
|
||||
toSExp msg, toSExp i])
|
||||
@ -32,7 +32,7 @@ printWithStatus status msg
|
||||
= do opts <- get ROpts
|
||||
case idemode opts of
|
||||
REPL _ => coreLift $ putStrLn msg
|
||||
_ => core ()
|
||||
_ => pure ()
|
||||
|
||||
export
|
||||
printResult : {auto o : Ref ROpts REPLOpts} ->
|
||||
|
Loading…
Reference in New Issue
Block a user