fix assigning value to type
This commit is contained in:
@@ -2056,6 +2056,7 @@ pub const CodeGen = struct {
|
||||
}
|
||||
return null;
|
||||
}
|
||||
return self.emitErrorFmt("cannot assign non-type value to Type variable '{s}'", .{name});
|
||||
}
|
||||
|
||||
// Union reassignment: s = .circle(3.14) or s = .none
|
||||
|
||||
Reference in New Issue
Block a user