www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - front-page examples not working

reply =?UTF-8?B?IsOYaXZpbmQi?= <oivind.loe gmail.com> writes:
I love the new examples on the front-page, but when I click the 
"run" button, I get this error:

/d982/f573.d(32): Error: undefined identifier centerJustifier

I got a different error on one of the other new examples 
yesterday. Please make sure these work. They are a great showcase 
of the language.
Aug 24 2015
parent "BBasile" <bb.temp gmx.com> writes:
On Monday, 24 August 2015 at 07:27:29 UTC, Øivind wrote:
 I love the new examples on the front-page, but when I click the 
 "run" button, I get this error:

 /d982/f573.d(32): Error: undefined identifier centerJustifier

 I got a different error on one of the other new examples 
 yesterday. Please make sure these work. They are a great 
 showcase of the language.
It's because it uses DPaste to run and DPaste compiler is seriously outdated. (same problem for a user using 2.066.1 http://forum.dlang.org/post/aqoyjlykqywjkvxdebsx forum.dlang.org) DPaste is at 2.065 see also: http://forum.dlang.org/thread/mr5da0$1djk$1 digitalmars.com
Aug 24 2015