Skip to content

Commit

Permalink
Fix for Mantis bug 1823
Browse files Browse the repository at this point in the history
  • Loading branch information
ganelson committed Apr 14, 2022
1 parent ee21339 commit 8e07790
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions inform7/values-module/Chapter 2/Descriptions.w
Expand Up @@ -110,8 +110,10 @@ even numbers", becomes rather "is an even number".

=
parse_node *Descriptions::to_rvalue(parse_node *spec) {
if (Specifications::is_description(spec) == FALSE) internal_error("not a description");

if (Rvalues::is_CONSTANT_construction(spec, CON_description)) return spec;
if (Specifications::is_description(spec) == FALSE) {
LOG("$T\n", spec); internal_error("not a description");
}
pcalc_prop *prop = Propositions::copy(
Descriptions::to_proposition(spec));
if (prop) {
Expand Down

0 comments on commit 8e07790

Please sign in to comment.