Mercurial > projects > ddmd
comparison dmd/FuncDeclaration.d @ 156:0c8cc2a10f99
+ ArrayInitializer.toAssocArrayLiteral()
+ FuncDeclaration.isUnique()
+ TypeEnum.alignsize()
+ TypeEnum.toChars()
+ TypeEnum.getProperty()
+ VarExp.equals()
+ expression.Util.fpunique()
* fixed missing default in TypeBasic
author | trass3r |
---|---|
date | Wed, 15 Sep 2010 18:24:39 +0200 |
parents | bc45b1c53019 |
children | b7b61140701d |
comparison
equal
deleted
inserted
replaced
155:a43c65469219 | 156:0c8cc2a10f99 |
---|---|
2930 override void toDocBuffer(OutBuffer buf) | 2930 override void toDocBuffer(OutBuffer buf) |
2931 { | 2931 { |
2932 assert(false); | 2932 assert(false); |
2933 } | 2933 } |
2934 | 2934 |
2935 FuncDeclaration isUnique() | 2935 FuncDeclaration isUnique() |
2936 { | 2936 { |
2937 assert(false); | 2937 FuncDeclaration result = null; |
2938 | |
2939 overloadApply(this, &fpunique, &result); | |
2940 return result; | |
2938 } | 2941 } |
2939 | 2942 |
2940 /******************************* | 2943 /******************************* |
2941 * Look at all the variables in this function that are referenced | 2944 * Look at all the variables in this function that are referenced |
2942 * by nested functions, and determine if a closure needs to be | 2945 * by nested functions, and determine if a closure needs to be |