diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2019-07-12 15:37:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-12 15:37:54 +0200 |
commit | 2895ad70c8e65cd6c220cf06c5e04ce7adfd29bd (patch) | |
tree | 96e5b5809a0dc9d7017c97bed16ec11fcda58512 /tests/vm | |
parent | 38b836b49e772aed38077d6aac810da183d03255 (diff) | |
download | Nim-2895ad70c8e65cd6c220cf06c5e04ce7adfd29bd.tar.gz |
fixes tcompiletimerange [bugfix] (#11720)
Diffstat (limited to 'tests/vm')
-rw-r--r-- | tests/vm/tcompiletimerange.nim | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/vm/tcompiletimerange.nim b/tests/vm/tcompiletimerange.nim index 9f4139897..cd675b4a3 100644 --- a/tests/vm/tcompiletimerange.nim +++ b/tests/vm/tcompiletimerange.nim @@ -1,18 +1,17 @@ discard """ - disabled: "true" """ # issue #8199 -const rangesGCHoldEnabled = not defined(rangesDisableGCHold) +const rangesGCHoldEnabled = true # not defined(rangesDisableGCHold) type # A view into immutable array Range*[T] {.shallow.} = object when rangesGCHoldEnabled: - gcHold: seq[T] - start: ptr T - mLen: int32 + gcHold: seq[T] # 0 + start: ptr T # 1 + mLen: int32 # 2 type BytesRange* = Range[byte] |