szhorvat / LTemplate

Extend Mathematica with LibraryLink and C++ with ease
57 stars 10 forks source link

Message symbol with OwnValue can cause problems #1

Open szhorvat opened 8 years ago

szhorvat commented 8 years ago

The message symbol is set with

ConfigureLTemplate["MessageSymbol" -> sym]

If this symbol has an OwnValue, the TranslateTemplate may fail or produce unexpected results.

This situation should either be avoided or detected and a warning issued.