DavidKinder / Inform6

The latest version of the Inform 6 compiler, used for generating interactive fiction games.
http://inform-fiction.org/
Other
204 stars 34 forks source link

Accept two Verb declarations for the same verb, with a warning #288

Closed erkyrath closed 5 months ago

erkyrath commented 5 months ago
Verb 'take' * noun -> Take;
Verb 'take' * 'inventory' -> Inv;

...should be treated like

Verb 'take' * noun -> Take;
Extend 'take' last * 'inventory' -> Inv;

...but print a warning saying that you should use Extend.

I7 winds up generating code like this in some cases (https://github.com/DavidKinder/Inform6/issues/285) and it ignores warnings. This is the easiest path forward for those cases.