Strange behaviour

Simen Haugen simen at norstat.no
Thu Jun 7 08:58:41 PDT 2007


"Thomas Kuehne" <thomas-dloop at kuehne.cn> wrote in message 
news:slrnf6gb6a.coh.thomas-
> Did you check that "invariant", "unittest" and "in/out" of in/out/body
> have no side effects appart from debugging output?

Yes.

> "aa[non_existant]" should allways throw an exception however
> "non_existant in aa" simply returns null.

Yes. The problem is that the exception wasnt raised in the debug build. 




More information about the Digitalmars-d-learn mailing list