inkwell icon indicating copy to clipboard operation
inkwell copied to clipboard

Provide a `Context` method to construct `ArrayType` and `FunctionType`

Open vaivaswatha opened this issue 8 months ago • 1 comments

inkwell::context::Context has methods to construct most other types, except vector, array and function types. Providing methods for these would be useful. Currently I see no other way of constructing an ArrayType, except match over every possible type for the element type, and call array_type on that. That's quite tedious.

vaivaswatha avatar Jun 25 '24 13:06 vaivaswatha