[Issue 4434] Assertion failed: (tn->mod & MODimmutable || tn->mod & MODshared), function check, file mtype.c, line 887.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Sep 15 21:40:34 PDT 2010


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


Yao Gómez <yao.gomez at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yao.gomez at gmail.com


--- Comment #3 from Yao Gómez <yao.gomez at gmail.com> 2010-09-15 21:40:02 PDT ---
I have the latest DMD2 compiler, and this also triggers this assertion:

---
static immutable u64 foo[1] = [0x123456789];
---

Note that the u64 identifier is not defined anywere. If I change it to ulong,
it works (obviously). Maybe it has something to do with ids not defined or
something.

The error messages that I get are:

> test.d(18): Error: identifier 'u64' is not defined
> test.d(18): Error: identifier 'u64' is not defined
> test.d(18): Error: u64 is used as a type
> Assertion failure: 'tn->mod == MODimmutable' on line 879 in file 'mtype.c'

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list