...
This commit is contained in:
@@ -531,6 +531,9 @@ pub const Type = union(enum) {
|
||||
return Type.s(capped);
|
||||
}
|
||||
|
||||
// Pointer types: both are pointers → return first (all are opaque ptr at LLVM level)
|
||||
if ((a.isPointer() or a.isManyPointer()) and (b.isPointer() or b.isManyPointer())) return a;
|
||||
|
||||
return a;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user