It looks like you want getRNG to be a compile-time function, so you should use 
the {.compileTime.} pragma. However, I'm not sure why you'd want a 
compile-time-only RNG implementation. You could (and should) implement it 
normally and instantiate it at compile time.

Reply via email to