make nim bootstrap again for older versions
This commit is contained in:
parent
8f457f6ebb
commit
a8edf67a28
6 changed files with 14 additions and 6 deletions
|
|
@ -20,6 +20,8 @@
|
|||
## **Note**: This interface will change as soon as the compiler supports
|
||||
## closures and proper coroutines.
|
||||
|
||||
include "system/inclrtl"
|
||||
|
||||
when not defined(nimhygiene):
|
||||
{.pragma: dirty.}
|
||||
|
||||
|
|
@ -456,7 +458,7 @@ template anyIt*(seq1, pred: untyped): bool =
|
|||
break
|
||||
result
|
||||
|
||||
template toSeq*(iter: untyped): untyped =
|
||||
template toSeq*(iter: untyped): untyped {.oldimmediate.} =
|
||||
## Transforms any iterator into a sequence.
|
||||
##
|
||||
## Example:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue