[Issue 3396] Call of abstract method not detected by semantic check
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Feb 10 10:45:14 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=3396
Stewart Gordon <smjg at iname.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |accepts-invalid
CC| |smjg at iname.com
--- Comment #2 from Stewart Gordon <smjg at iname.com> 2012-02-10 10:45:07 PST ---
(In reply to comment #1)
> Created an attachment (id=1072) [details]
> abstract methods not being flagged as unimplemented
AIUI a method declared without the abstract attribute is taken to reference a
function defined elsewhere. Since no library or object file that defines such
a function has been linked in, the linker errors.
The original testcase is different: A.m is declared as abstract, so the
compiler should reject the attempt to call it there and then.
--
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