curiousdannii-testing / inform7-imported-bugs

0 stars 0 forks source link

[I7-2076] Regression with understanding "it" in new Inform 7 #8

Open curiousdannii-testing opened 2 years ago

curiousdannii-testing commented 2 years ago

As far as I understand, the word “it” can be used in Inform 7 source text to refer to the most recently referred object. Under the last release on http://inform7.com , at least, the following code produces the behavior shown:

The kettle is here. The description of it is "It's black."
The pot is here. The description of it is "It's blacker."
>x kettle
It's black.

>x pot
It's blacker.

However, on the latest checkout of `ganelson/inform` (commit 10409f1f as of writing), the compiler fails to understand this:

  >--> You wrote 'The description of it is "It's blacker."' (source text, line 10),
    but in another sentence 'The description of it is "It's black."' (source
    text, line 9): but this looks like a contradiction, because the same
    property seems to be being set in each of these sentences, but with a
    different outcome.
++ Ended: Translation failed: 1 problem found
Inform 7 has finished.
Build failed at ''/tmp/inform/inform7/Tangled/inform7' -kit BasicInformKit -kit EnglishLanguageKit -kit WorldModelKit -kit CommandParserKit -format=Inform6/32d/v3.1.2 -external '/tmp/Inform' -internal 'inform7/Internal' -project '/tmp/test.inform' '
imported from: Regression with understanding "it" in new Inform 7
  • status: Reported
  • priority: Lowest
  • resolution: Unresolved
  • imported: 2022/01/10