Cannot Instantiate Immutable or Constant Structure Variable

Jose Armando Garcia jsancio at gmail.com
Tue Jul 5 19:39:38 PDT 2011


First, you should always try to simplify the problem when asking for  
help. Not many people want to read a lot of code to find the issue.

Second, I just glanced at the code and couldn't find a constructor  
that takes 3 arguments (floats).



Em 05/07/2011, às 23:27, Loopback <elliott.darfink at gmail.com> escreveu:

> Hello!
>
> Since I haven't received an answer for several days at the "learn"
> newsgroup I was wondering if this was an error related to D or just
> a hard nut to crack.
>
> The unittest in this code is not compile-able, whereas the compiler
> complains saying that the expression cannot be evaluated at compile
> time (the constructor).
>
> http://pastebin.com/CBJE24h1
>
> I'm sorry if I seem impatient about creating a thread here, but my
> development have come to a full halt because of this (seamlessly)
> small problem.


More information about the Digitalmars-d mailing list