Agustin:
The code is: http://pastebin.com/510YK2Se Using (LDC 0.12.0-beta 1 Ubuntu): http://pastebin.com/2gAWnYyrUsing (DMD Windows): Assertion failure: 'thisval && thisval->op ==TOKclassreference' on line 4067 in file 'interpret.c' when compiling this.
Thank you. I presume this bug is already fixed in the latest release, dmd V.2.064beta2.
Bye, bearophile