summary refs log tree commit diff stats
path: root/tests/misc/t9039.nim
diff options
context:
space:
mode:
authorflywind <xzsflywind@gmail.com>2022-01-04 20:29:50 +0800
committerGitHub <noreply@github.com>2022-01-04 13:29:50 +0100
commit9df195ef581879cf9e5c3c3154755bd1dba677c6 (patch)
tree71dc955a6976558b3cb47f98443093b388c1ce36 /tests/misc/t9039.nim
parent1869826668e2e3a0fd69cc1b69fb12b07993e417 (diff)
downloadNim-9df195ef581879cf9e5c3c3154755bd1dba677c6.tar.gz
style usages part one (openarray => openArray) (#19321)
* style usages (openArray)

* revert doc changes
Diffstat (limited to 'tests/misc/t9039.nim')
-rw-r--r--tests/misc/t9039.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/misc/t9039.nim b/tests/misc/t9039.nim
index ba636d1db..3271cd34e 100644
--- a/tests/misc/t9039.nim
+++ b/tests/misc/t9039.nim
@@ -15,7 +15,7 @@ but expression 'nesting + 1' is of type: int
 # line 15
 func default(T: typedesc[array]): T = discard
 doAssert default(array[3, int]) == [0, 0, 0]
-func shapeBad*[T: not char](s: openarray[T], rank: static[int], nesting = 0, parent_shape = default(array[rank, int])): array[rank, int] =
+func shapeBad*[T: not char](s: openArray[T], rank: static[int], nesting = 0, parent_shape = default(array[rank, int])): array[rank, int] =
   result = parent_shape
   result[nesting] = s.len
   when (T is seq|array):