diff --git a/src/IR/Value.jl b/src/IR/Value.jl index f4d3da07..6538447c 100644 --- a/src/IR/Value.jl +++ b/src/IR/Value.jl @@ -8,8 +8,8 @@ struct Value end Base.convert(::Core.Type{API.MlirValue}, value::Value) = value.value -Base.size(value::Value) = Base.size(Type(value)) -Base.ndims(value::Value) = Base.ndims(Type(value)) +Base.size(value::Value) = Base.size(type(value)) +Base.ndims(value::Value) = Base.ndims(type(value)) """ ==(value1, value2)