Closed curiousdannii-testing closed 2 years ago
557058:4c095ffd-6d6f-47ce-9e73-77c613347b86:
Comment by zarf :
Compiler bug. That should work as written.
Fixed via this commit: https://github.com/ganelson/inform/commit/e106b01c864488aff5c15ca40568c9aafe9c2fec
Comment by Graham Nelson:
A compiler bug, not a documentation omission.
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 :
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