Const variable assignment

In reply to prashant.kaushik:

It seems me Questa is upgraded. I tried with questa 10.4 and do not get error.

However, tried in edaplay ground and VCS is throwing compilation error for ‘re initialization’ of ‘const’ class property.