curiousdannii-testing / inform7-imported-bugs

0 stars 0 forks source link

[I7-1928] [Mantis 1964] §19.13. Rulebooks producing values: An action based rulebook creation fails #156

Closed curiousdannii-testing closed 2 years ago

curiousdannii-testing commented 2 years ago

Reported by : FictitiousFrode

Description :

One of the examples in §19.13. Rulebooks producing values states that the following works:

Drum summons rules is an action based rulebook producing nothing.

But the compiler is very confused by the use of "an"; change it to

Drum summons rules is a action based rulebook producing nothing.

and it works.

Steps to reproduce :

Garden is a room.
Drum summons rules is an action based rulebook producing nothing. 

Additional information :

Logging this as an error in the documentation because it's easy to get the code to work, but it might be argued that it's the compiler that's at fault.

imported from: [Mantis 1964] §19.13. Rulebooks producing values: An action based rulebook creation fails
  • status: Closed
  • resolution: Resolved
  • resolved: 2022-04-12T08:54:50+10:00
  • imported: 2022/01/10
curiousdannii-testing commented 2 years ago

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

Comment by zarf :
Compiler bug. That should work as written.

curiousdannii-testing commented 2 years ago

61eedb62875fc10070240916:

Fixed via this commit: https://github.com/ganelson/inform/commit/e106b01c864488aff5c15ca40568c9aafe9c2fec

Comment by Graham Nelson:
A compiler bug, not a documentation omission.