cleanup
This commit is contained in:
@@ -245,10 +245,8 @@ pub const Analyzer = struct {
|
||||
const elem_name = elem_type.displayName(self.allocator) catch return .void_type;
|
||||
return .{ .many_pointer_type = .{ .element_name = elem_name } };
|
||||
}
|
||||
// Parameterized type: Vector(N, T) or generic struct
|
||||
// Sema does not resolve generics; codegen handles instantiation
|
||||
if (tn.data == .parameterized_type_expr) {
|
||||
// For now, skip generic instantiation — just return void_type
|
||||
// (will be extended when generic support is added to sema)
|
||||
return .void_type;
|
||||
}
|
||||
// type_expr or identifier — check aliases, enums, structs
|
||||
|
||||
Reference in New Issue
Block a user