simit
simit copied to clipboard
global const and literals
Global const should be initialized with some computation, the same way as it is possible to do inside a func :
const twelfth = 1.0 / 12.0 ;
The simit compiler answer :
Error: global constant must be initialized to a literal, at 91:5-32