Skip to content

Commit 17da65c

Browse files
authored
Fixes IR printing DV option set (#2116)
1 parent 39456d6 commit 17da65c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/tests/Microsoft.PowerFx.Core.Tests/IRTests/IRPrettyPrinter.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
using System;
55
using System.Linq;
66
using System.Text;
7+
using Microsoft.PowerFx.Core.Entities;
78
using Microsoft.PowerFx.Core.IR;
89
using Microsoft.PowerFx.Core.IR.Nodes;
910
using Microsoft.PowerFx.Core.IR.Symbols;
@@ -181,6 +182,10 @@ public override RetVal Visit(ResolvedObjectNode node, Context context)
181182
{
182183
_sb.Append(n.Name);
183184
}
185+
else if (node.Value is IExternalEntity ee)
186+
{
187+
_sb.Append(ee.EntityName);
188+
}
184189
else
185190
{
186191
throw new NotImplementedException();

0 commit comments

Comments
 (0)