[Issue 10606] DMD Exit code 139

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Nov 21 02:45:32 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=10606



--- Comment #2 from Daniel Kozak <kozzi11 at gmail.com> 2013-11-21 02:45:29 PST ---
(In reply to comment #1)
> Now gives
> 
> testx.d(13): Error: no property 'g' for type 'testx.B'
> testx.d(6): Error: template instance testx.A!(B) error instantiating

This is better than exit code 139. But is this desired behaviour?

When I rewrite:
immutable b = immutable C!(T)("u");

to:

immutable b = immutable C!(A!T)("u");

It works as I expected, but why I can not just write

T instead of A!T? Maybe some circular reference?

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


More information about the Digitalmars-d-bugs mailing list