immutable & alias this

Trass3r un at known.com
Wed Nov 9 05:23:39 PST 2011


> test.d(16): Error: cannot implicitly convert expression ([1,2,3]) of  
> type int[] to immutable(Typedef!(int[]))

OT: this shows another possible problem.
See http://clang.llvm.org/diagnostics.html, section "Typedef Preservation  
and Selective Unwrapping"


More information about the Digitalmars-d-learn mailing list