catching undeclared methods in a CommandMap
pkra opened this issue · comments
Peter Krautzberger commented
While writing a third party extensions, I did something like
new CommandMap(
'my-macros',
{
bigsqcap: ['Macro', '\\mmlToken{mo}{\u2a05}'],
...
},
Mymethods
);
But I had forgotten something like Mymethods.Macro = BaseMethods.Macro;
Typescript compiled without errors and running the extension just gave me an "unknown macro" error, without any hint as to what went wrong.
I'm wondering if there could more additional feedback in such a situation.