Inform 7/10 "say say" compilation bug

I’ve noticed tonight that the compiler will accept and compile a double say command rather than complain about it.

E.g. the code

instead of examining yourself, say say "Nope!".

will compile but gives an empty response to that command:

>examine me

>

Remove the duplicate say and it works as expected.

This looks like a bug in Inform. Has anyone else encountered it before I report it through the bugs reporting system? I am using Mac IDE Version 1.82 (1.82.1), Inform 10.1.1.

On plus realising I’d typed “say say” instead of “say” meant it was an easy fix :stuck_out_tongue_winking_eye: Although not picked up by the compiler.

Writing this as instead of examining yourself, say “[say ‘nope’]” yields the same result, and in fact the same I6. Not that I understand what’s going on, but it is interesting that it’s treating the nested say “nope” as a bonafide say phrase.

1 Like