mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-11-28 11:05:17 +03:00
Fix bootstrap
This was broken in #425, because Idris2-boot hasn't implemented the fix for #116
This commit is contained in:
parent
b955d2e50c
commit
1d7378778a
@ -460,11 +460,12 @@ runRepl : {auto c : Ref Ctxt Defs} ->
|
|||||||
runRepl fname = do
|
runRepl fname = do
|
||||||
u <- newRef UST initUState
|
u <- newRef UST initUState
|
||||||
m <- newRef MD initMetadata
|
m <- newRef MD initMetadata
|
||||||
case fname of
|
the (Core ()) $
|
||||||
Nothing => pure ()
|
case fname of
|
||||||
Just fn => do
|
Nothing => pure ()
|
||||||
errs <- loadMainFile fn
|
Just fn => do
|
||||||
displayErrors errs
|
errs <- loadMainFile fn
|
||||||
|
displayErrors errs
|
||||||
repl {u} {s}
|
repl {u} {s}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user