mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-19 15:30:50 +00:00
[qfcc] Treat alias nodes in alias-free branch as ICE
This commit is contained in:
parent
218cca71b8
commit
361b3ff422
1 changed files with 4 additions and 1 deletions
|
@ -551,7 +551,10 @@ const type_t *
|
|||
unalias_type (const type_t *type)
|
||||
{
|
||||
if (type->meta == ty_alias) {
|
||||
return type->t.alias.aux_type;
|
||||
type = type->t.alias.aux_type;
|
||||
if (type->meta == ty_alias) {
|
||||
internal_error (0, "alias type node in alias-free chain");
|
||||
}
|
||||
}
|
||||
return type;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue