comparison dmd/DelegateExp.d @ 73:ef02e2e203c2

Updating to dmd2.033
author korDen
date Sat, 28 Aug 2010 19:42:41 +0400
parents 2e2a5c3f943a
children e28b18c23469
comparison
equal deleted inserted replaced
72:2e2a5c3f943a 73:ef02e2e203c2
26 import dmd.backend.OPER; 26 import dmd.backend.OPER;
27 27
28 class DelegateExp : UnaExp 28 class DelegateExp : UnaExp
29 { 29 {
30 FuncDeclaration func; 30 FuncDeclaration func;
31 int hasOverloads; 31 bool hasOverloads;
32 32
33 this(Loc loc, Expression e, FuncDeclaration f, int hasOverloads = 0) 33 this(Loc loc, Expression e, FuncDeclaration f, bool hasOverloads = false)
34 { 34 {
35 super(loc, TOK.TOKdelegate, DelegateExp.sizeof, e); 35 super(loc, TOK.TOKdelegate, DelegateExp.sizeof, e);
36 this.func = f; 36 this.func = f;
37 this.hasOverloads = hasOverloads; 37 this.hasOverloads = hasOverloads;
38 } 38 }