| commit | 7876235c3f26a517f4a31ce036b23f891757c8da | [log] [tgz] |
|---|---|---|
| author | Xiangpeng Hao <haoxiangpeng123@gmail.com> | Thu Nov 12 10:24:18 2020 +0800 |
| committer | Xiangpeng Hao <haoxiangpeng123@gmail.com> | Tue Nov 24 20:23:29 2020 -0800 |
| tree | 385baed8a05a9aad905c19c2ad40b2c3120102b3 | |
| parent | bf1000f40e3755a2cebfcd59b35f30b591765749 [diff] [blame] |
add initial array support
diff --git a/syntax/improper.rs b/syntax/improper.rs index 6fd3162..e016884 100644 --- a/syntax/improper.rs +++ b/syntax/improper.rs
@@ -31,6 +31,7 @@ | Type::SliceRefU8(_) => Definite(true), Type::UniquePtr(_) | Type::CxxVector(_) => Definite(false), Type::Ref(ty) => self.determine_improper_ctype(&ty.inner), + Type::Array(ty) => self.determine_improper_ctype(&ty.inner), } } }