Myron Alexander wrote: > const var = new SomeObject (); The above line will fail because const declarations can only be initialized with something that can be evaluated at compile time. The example should be: const(SomeObject) var = new SomeObject(); > var.changesomething() -- fails