mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-03 08:30:47 +03:00
Adapt to TY enum class
This commit is contained in:
parent
9dabd0ba16
commit
369cfd13ce
42 changed files with 512 additions and 494 deletions
|
@ -22,7 +22,7 @@ IrFunction::IrFunction(FuncDeclaration *fd)
|
|||
decl = fd;
|
||||
|
||||
Type *t = fd->type->toBasetype();
|
||||
assert(t->ty == Tfunction);
|
||||
assert(t->ty == TY::Tfunction);
|
||||
type = static_cast<TypeFunction *>(t);
|
||||
|
||||
irFty.type = type;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue