[Issue 2095] covariance w/o typechecks = bugs
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Nov 18 12:40:03 PST 2010
http://d.puremagic.com/issues/show_bug.cgi?id=2095
--- Comment #20 from bearophile_hugs at eml.cc 2010-11-18 12:38:47 PST ---
(In reply to comment #19)
> Classes are not like arrays and pointers. These are
> supposed to be lightweight data types, it's out of place for D to have that
> extra runtime data in these lightweight data types (arrays and pointers). It
> worries me that you suggested this change without even considering an approach
> based on fixing/improving the (static) type system.
A solution based on the type system (plus a bit of syntax) as in C#/Java seems
better. But it's probably better to implement it after the current group of
features is implemented.
--
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