Global variables read at compile time?

Suliman via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue May 6 03:16:15 PDT 2014


I have got same error. I need to pass in instance of class 
constant, but got error "Error: static variable  cannot be read 
at compile"

http://www.everfall.com/paste/id.php?1mc9mb9cxyie

When I had create instance of class in main, and create 
confvarible above it all worked, but when I had moved it's in 
module I got error.


More information about the Digitalmars-d-learn mailing list