[Issue 5274] Impure function call inside impure function nested inside pure function

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Nov 29 07:44:30 PST 2010


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



--- Comment #3 from Steven Schveighoffer <schveiguy at yahoo.com> 2010-11-29 07:43:03 PST ---
(In reply to comment #2)

> Maybe you are right, there is no much better error message to be invented here.

Hm... I'd expect a message like:

Error: pure function 'foo.bar' cannot call impure function 'putchar'

But this doesn't seem to be a very critical problem, the line number is
correct, so you can see where the problem is.

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