diff options
author | Araq <rumpf_a@web.de> | 2012-09-18 17:47:57 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2012-09-18 17:47:57 +0200 |
commit | 9b8afc9321e53f270c13418d9aa18ebc1e9d40f4 (patch) | |
tree | 701a80e916ec9bb4816595533152b012d8ab6406 | |
parent | 4892d6929a5b60a004f5f9a12902ef4f7d37a9d8 (diff) | |
download | Nim-9b8afc9321e53f270c13418d9aa18ebc1e9d40f4.tar.gz |
pragma statements in rodfiles -- couldn't reproduce
-rw-r--r-- | tests/rodfiles/int2bool.nim | 3 | ||||
-rwxr-xr-x | todo.txt | 4 |
2 files changed, 4 insertions, 3 deletions
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 ... |