Skip to content

Commit 4bab0fc

Browse files
committed
Fill in missed values when cloning functions
Signed-off-by: Dimitar Dobrev <[email protected]>
1 parent a00f34c commit 4bab0fc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/AST/Function.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,13 +181,15 @@ public Function(Function function)
181181
IsDeleted = function.IsDeleted;
182182
IsDefaulted = function.IsDefaulted;
183183
IsAmbiguous = function.IsAmbiguous;
184+
IsConstExpr = function.IsConstExpr;
184185
FriendKind = function.FriendKind;
185186
OperatorKind = function.OperatorKind;
186187
CallingConvention = function.CallingConvention;
187188
SynthKind = function.SynthKind;
188189
OriginalFunction = function.OriginalFunction;
189190
Mangled = function.Mangled;
190191
Signature = function.Signature;
192+
Body = function.Body;
191193
FunctionType = function.FunctionType;
192194
if (function.SpecializationInfo != null)
193195
{

0 commit comments

Comments
 (0)