diff --git a/tests/rodfiles/int2bool.nim b/tests/rodfiles/int2bool.nim index e6add9848..0f6fd14e6 100644 --- a/tests/rodfiles/int2bool.nim +++ b/tests/rodfiles/int2bool.nim @@ -1,5 +1,8 @@ +{.overflowchecks: on.} + converter uglyToBool*(x: int): bool = + {.Breakpoint.} result = x != 0 diff --git a/todo.txt b/todo.txt index 1fb362156..71f9c076f 100755 --- a/todo.txt +++ b/todo.txt @@ -3,7 +3,7 @@ version 0.9.0 - make 'bind' default for templates and introduce 'mixin' -- implicit deref for parameter matching +- implicit deref for parameter matching; overloading based on 'var T' - optimize genericAssign in the code generator @@ -13,8 +13,6 @@ Bugs - sneaking with qualifiedLookup() is really broken! - bug: aporia.nim(968, 5) Error: ambiguous identifier: 'DELETE' -- use a qualifier -- bug: pragma statements in combination with symbol files are evaluated twice - but this can lead to compilation errors - bug: the parser is not strict enough with newlines: 'echo "a" echo "b"' compiles - bug: blocks can "export" an identifier but the CCG generates {} for them ...