mirror of
https://github.com/ilyakooo0/Idris-dev.git
synced 2024-09-22 06:29:37 +03:00
No newline after case in :makecase
This commit is contained in:
parent
378bbd6f98
commit
1e80f1f3cc
@ -177,8 +177,8 @@ makeCase fn updatefile l n
|
||||
Just (before, pos, after) ->
|
||||
[before ++ (if b then "(" else "") ++ "case _ of",
|
||||
take (pos + (if b then 6 else 5)) (repeat ' ') ++
|
||||
"case_val => ?" ++ n ++ if b then ")" else "",
|
||||
after]
|
||||
"case_val => ?" ++ n ++ (if b then ")" else "")
|
||||
++ after]
|
||||
Nothing -> fail "No such metavariable"
|
||||
|
||||
-- Assume case needs to be bracketed unless the metavariable is
|
||||
|
Loading…
Reference in New Issue
Block a user