[Issue 866] Abstract classes can't have constructors: fails to link, hard to find problem

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jan 23 05:46:14 PST 2007


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





------- Comment #1 from thomas-dloop at kuehne.cn  2007-01-23 07:46 -------
One more sniplet to demonstrate that DMD's current behaviour has undesired 
consequences:

# class A{
#    this(char[] foo){
#    }
# }
# 
# abstract class B : A{
#    this(char[] bar){
#    }
# }

c.d(7): constructor c.B.this no match for implicit super() call in constructor


-- 



More information about the Digitalmars-d-bugs mailing list