mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-04-12 06:49:02 +02:00
Set irtype for underlying function type when building delegate types.
This fixes the problem of arg_nest disappearing when DtoType is called on such types, e.g. as part of metadata generation.
This commit is contained in:
@@ -23,7 +23,7 @@ class IrTypeFunction : public IrType
|
||||
{
|
||||
public:
|
||||
///
|
||||
static IrTypeFunction* get(Type* dt);
|
||||
static IrTypeFunction* get(Type* dt, Type* nestedContextOverride = 0);
|
||||
|
||||
///
|
||||
IrTypeFunction* isFunction() { return this; }
|
||||
|
||||
Reference in New Issue
Block a user