mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-01 01:09:03 +03:00
Fix build given new case elaboration rule
Actually this was an error in Core.Directory, so the change has caught it! Always nice to see that happen on making an improvement...
This commit is contained in:
parent
1057cb9314
commit
0f27042b32
@ -113,9 +113,10 @@ mkdirAll dir = if parse dir == emptyPath
|
||||
else do exist <- dirExists dir
|
||||
if exist
|
||||
then pure (Right ())
|
||||
else do case parent dir of
|
||||
else do Right () <- case parent dir of
|
||||
Just parent => mkdirAll parent
|
||||
Nothing => pure (Right ())
|
||||
| err => pure err
|
||||
createDir dir
|
||||
|
||||
-- Given a namespace (i.e. a module name), make the build directory for the
|
||||
|
Loading…
Reference in New Issue
Block a user