Very strange compilation error
    John Colvin via Digitalmars-d-learn 
    digitalmars-d-learn at puremagic.com
       
    Wed Oct 15 13:13:19 PDT 2014
    
    
  
On Wednesday, 15 October 2014 at 19:29:27 UTC, Jack Applegame 
wrote:
> I don't understand why this code doesn't compile:
>
> http://dpaste.dzfl.pl/dfd8df7f80ad
that should be immutable(ubyte)[] not immutable ubyte[] which is 
equivalent to immutable(ubyte[]). You can't overwrite immutable 
data, hence the error.
    
    
More information about the Digitalmars-d-learn
mailing list