Skip to content
This repository was archived by the owner on Nov 11, 2024. It is now read-only.

Commit f3a199b

Browse files
committed
Properly print when evaluation of an expression is unsupported.
1 parent 5e7cdca commit f3a199b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/Utilities.cs

+6-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,12 @@ public static Tuple<string, bool> StringizeValue(ObjectValue value)
132132
}
133133
else if (value.IsUnknown)
134134
{
135-
str = "Result is unrepresentable";
135+
str = "Expression result is unrepresentable";
136+
err = true;
137+
}
138+
else if (value.IsNotSupported || value.IsImplicitNotSupported)
139+
{
140+
str = "Expression is valid but evaluation is unsupported";
136141
err = true;
137142
}
138143
else

0 commit comments

Comments
 (0)