Skip to content

Commit 7e52099

Browse files
authored
[ fix ] missing log option (#1411)
1 parent 7fe8c42 commit 7e52099

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/Core/Options/Log.idr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ knownTopics = [
4242
("builtin.Natural.addTransform", "some documentation of this option"),
4343
("builtin.NaturalToInteger", "some documentation of this option"),
4444
("builtin.NaturalToInteger.addTransforms", "some documentation of this option"),
45+
("builtin.IntegerToNatural", "some documentation of this option"),
46+
("builtin.IntegerToNatural.addTransforms", "some documentation of this option"),
4547
("compile.casetree", "some documentation of this option"),
4648
("compiler.inline.eval", "some documentation of this option"),
4749
("compiler.refc", "some documentation of this option"),

src/TTImp/ProcessBuiltin.idr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ addIntegerToNat :
280280
IntToNat ->
281281
Core ()
282282
addIntegerToNat fn iToN = do
283-
log "builtin.NaturalToInteger.addTransforms" 10
283+
log "builtin.IntegerToNatural.addTransforms" 10
284284
$ "Add %builtin IntegerToNatural transform for " ++ show fn ++ "."
285285
update Ctxt $ record
286286
{ builtinTransforms.integerToNatFns $= insert fn iToN

0 commit comments

Comments
 (0)