From 17da65ca2cb20d38a2d4b063846e1d721ef0d0c4 Mon Sep 17 00:00:00 2001 From: Jas Valgotar <32079188+jas-valgotar@users.noreply.github.com> Date: Tue, 19 Dec 2023 14:38:44 -0500 Subject: [PATCH] Fixes IR printing DV option set (#2116) --- .../Microsoft.PowerFx.Core.Tests/IRTests/IRPrettyPrinter.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/tests/Microsoft.PowerFx.Core.Tests/IRTests/IRPrettyPrinter.cs b/src/tests/Microsoft.PowerFx.Core.Tests/IRTests/IRPrettyPrinter.cs index 67f7e9cd7..0569bf232 100644 --- a/src/tests/Microsoft.PowerFx.Core.Tests/IRTests/IRPrettyPrinter.cs +++ b/src/tests/Microsoft.PowerFx.Core.Tests/IRTests/IRPrettyPrinter.cs @@ -4,6 +4,7 @@ using System; using System.Linq; using System.Text; +using Microsoft.PowerFx.Core.Entities; using Microsoft.PowerFx.Core.IR; using Microsoft.PowerFx.Core.IR.Nodes; using Microsoft.PowerFx.Core.IR.Symbols; @@ -181,6 +182,10 @@ namespace Microsoft.PowerFx.Tests { _sb.Append(n.Name); } + else if (node.Value is IExternalEntity ee) + { + _sb.Append(ee.EntityName); + } else { throw new NotImplementedException();