Allow constant expressions in [Type * n].

This commit is contained in:
Luqman Aden
2013-03-04 18:03:21 -08:00
parent e78f2e2ac5
commit 42f95d055c
4 changed files with 32 additions and 24 deletions

View File

@@ -916,7 +916,7 @@ pub enum ty_ {
ty_box(mt),
ty_uniq(mt),
ty_vec(mt),
ty_fixed_length_vec(mt, uint),
ty_fixed_length_vec(mt, @expr),
ty_ptr(mt),
ty_rptr(Option<@Lifetime>, mt),
ty_closure(@TyClosure),