diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2017-09-13 14:30:57 -0400 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2017-09-13 14:30:57 -0400 |
| commit | d9eabde319bc035f710b106808022e9b5872f728 (patch) | |
| tree | 798876d64f37829bdc3eb637ef35e648493afe8f /test/cases/array.zig | |
| parent | 5931a6b1a5b8f4941fc9b78f8960745f81594f17 (diff) | |
| download | zig-d9eabde319bc035f710b106808022e9b5872f728.tar.gz zig-d9eabde319bc035f710b106808022e9b5872f728.zip | |
add Child property of slice type
also rename child field to Child for pointer and array
Diffstat (limited to 'test/cases/array.zig')
| -rw-r--r-- | test/cases/array.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cases/array.zig b/test/cases/array.zig index 9e9d83c2e1..a6fa07b004 100644 --- a/test/cases/array.zig +++ b/test/cases/array.zig @@ -89,7 +89,7 @@ test "array literal with specified size" { test "array child property" { var x: [5]i32 = undefined; - assert(@typeOf(x).child == i32); + assert(@typeOf(x).Child == i32); } test "array len property" { |
