curiousdannii-testing / inform7-imported-bugs

0 stars 0 forks source link

[I7-1325] [Mantis 1361] The verb "to be on top of" is not recognized. #759

Closed curiousdannii-testing closed 2 years ago

curiousdannii-testing commented 2 years ago

Reported by : zarf

Description :

The sample below throws an error:

In the sentence 'if the steak is on top of the grill, say "Steak confirmed as on top of the grill."' , I was expecting to read a condition, but instead found some text that I couldn't understand - 'steak is on top of the grill'.

The Standard Rules contain the line


The verb to be on top of means the reversed support relation.

...but the compiler doesn't seem to take account of it.

If you uncomment the sausage line, the code compiles, but the sausage winds up on a new supporter called "top of the grill". The last line is then mis-parsed as applying to this new supporter.


grill (574407)
a steak
top of the grill (574471)
a sausage

Steps to reproduce :

The Kitchen is a room.

The grill is a supporter.
A steak is on the grill.

[A sausage is on top of the grill.]

Every turn:
    if the steak is on the grill, say "Steak confirmed as on the grill.";
    if the steak is on top of the grill, say "Steak confirmed as on top of the grill."

Additional information :

imported from: [Mantis 1361] The verb "to be on top of" is not recognized.
  • status: Closed
  • resolution: Resolved
  • resolved: 2022-04-07T04:57:34+10:00
  • imported: 2022/01/10
curiousdannii-testing commented 2 years ago

557058:4c095ffd-6d6f-47ce-9e73-77c613347b86:

Comment by jmcgrew :
Closing all resolved issues from 2014 and earlier.

curiousdannii-testing commented 2 years ago

557058:4c095ffd-6d6f-47ce-9e73-77c613347b86:

Comment by graham :
Fixed; the ambiguity between "X on (top of Y)" and "X on top of Y" was being different resolved in the two contexts, I think.