mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-11-24 15:07:37 +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
|
||||
u <- newRef UST initUState
|
||||
m <- newRef MD initMetadata
|
||||
case fname of
|
||||
Nothing => pure ()
|
||||
Just fn => do
|
||||
errs <- loadMainFile fn
|
||||
displayErrors errs
|
||||
the (Core ()) $
|
||||
case fname of
|
||||
Nothing => pure ()
|
||||
Just fn => do
|
||||
errs <- loadMainFile fn
|
||||
displayErrors errs
|
||||
repl {u} {s}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user