Skip to content

Commit 30e9f57

Browse files
authored
Added comment for fixing later
1 parent 18886e5 commit 30e9f57

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/types/traits.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ pub trait BasicType<'ctx>: AnyType<'ctx> {
103103
/// let int_basic_type = int.as_basic_type_enum();
104104
/// assert_eq!(int_basic_type.array_type(32), int.array_type(32));
105105
/// ```
106+
// FIXME: This likely doesn't belong on the trait, since not all basic types can be turned into arrays?
106107
fn array_type(&self, size: u32) -> ArrayType<'ctx> {
107108
Type::new(self.as_type_ref()).array_type(size)
108109
}

0 commit comments

Comments
 (0)