On Wed, Jun 12, 2019 at 01:12:58PM +0000, Newbie2019 via Digitalmars-d-learn wrote: > https://run.dlang.io/is/s4cfiv > > onlineapp.d(23): Error: static variable A cannot be read at compile time > onlineapp.d(23): Error: cannot implicitly convert expression 1 of type int > to int* > > I see no reason the code should not work, and the second error message make > no sense.
Read: https://wiki.dlang.org/User:Quickfur/Compile-time_vs._compile-time T -- A mathematician is a device for turning coffee into theorems. -- P. Erdos