[Issue 1738] Error on struct without line number

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Dec 31 22:56:09 PST 2007


http://d.puremagic.com/issues/show_bug.cgi?id=1738





------- Comment #2 from murpsoft at hotmail.com  2008-01-01 00:56 -------
Umm... well, this issue is blocking any development on my program with any
compiler after 1.020 (whatever changed, happened in 1.021)

My code shows:

struct Value {
  union {
   bool b;
   int i;
   ...
  }
}

static const Value
   UNDEFINED = ...
   FALSE = { b:false ... }
   ...

I get an error message which is completely not useful.  It just says "b is not
a member of Value"; which it clearly is.

Please help.
Regards,
Dan


-- 



More information about the Digitalmars-d-bugs mailing list