[Issue 3630] bad error location in "has no effect in expression" error

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Feb 20 19:55:49 PST 2012


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



--- Comment #7 from yebblies <yebblies at gmail.com> 2012-02-21 14:55:47 EST ---
(In reply to comment #6)
> I am seeing this, I don't know why:
> 
> 
> dmc -c -Iroot;\dm\include  -o  -cpp  func
>             e = p->type->defaultInitLiteral();
>                                             ^
> func.c(2488) : Error: 1 actual arguments expected for function, had 0
> --- errorlevel 1

Because Walter merged pull 41 which added that code.  I'm glad I took away the
default parameter, we just avoided a new missing line number bug.

-- 
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