diff options
author | Araq <rumpf_a@web.de> | 2011-07-31 00:21:32 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2011-07-31 00:21:32 +0200 |
commit | 6a8a409f1b8694e380e27afddff3cd9c29452b8c (patch) | |
tree | 4dcda408e2db40d0ce6b243c74d9160cad54c6c1 /tests/accept | |
parent | 2d62738bbb5e7a664fab3f7a49313b5fb839a47c (diff) | |
download | Nim-6a8a409f1b8694e380e27afddff3cd9c29452b8c.tar.gz |
preparation for new 'is' operator; breaks bootstrapping again, sorry (use generated C code)
Diffstat (limited to 'tests/accept')
-rw-r--r-- | tests/accept/run/teventemitter.nim | 2 | ||||
-rwxr-xr-x | tests/accept/run/tofopr.nim (renamed from tests/accept/run/tisopr.nim) | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/accept/run/teventemitter.nim b/tests/accept/run/teventemitter.nim index 166a0cb30..763f41943 100644 --- a/tests/accept/run/teventemitter.nim +++ b/tests/accept/run/teventemitter.nim @@ -4,7 +4,7 @@ type TEventArgs = object of TObject type TEventEmitter = object of TObject - events*: TTable[string, TDoublyLinkedList[proc(e : TEventArgs)]] + events*: TTable[string, TDoublyLinkedList[proc(e: TEventArgs)]] proc on*(emitter: var TEventEmitter, event: string, func: proc(e: TEventArgs)) = if not hasKey(emitter.events, event): var list: TDoublyLinkedList[proc(e: TEventArgs)] diff --git a/tests/accept/run/tisopr.nim b/tests/accept/run/tofopr.nim index 7e7a8f650..f9c21ad16 100755 --- a/tests/accept/run/tisopr.nim +++ b/tests/accept/run/tofopr.nim @@ -1,5 +1,5 @@ discard """ - file: "tisopr.nim" + file: "tofopr.nim" output: "falsetrue" """ # Test is operator @@ -12,7 +12,7 @@ type TOtherType = object of TMyType proc p(x: TMyType): bool = - return x is TOtherType + return x of TOtherType var m: TMyType |