[Issue 6487] Richer impurity error message

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Oct 21 15:59:04 PDT 2012


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


Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |andrej.mitrovich at gmail.com
         Resolution|                            |DUPLICATE


--- Comment #1 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2012-10-21 15:59:02 PDT ---
Issue 6647 and 7050 and this one will be closed after
https://github.com/D-Programming-Language/dmd/pull/1201 is pulled.

The message will be:
Error: pure function 'std.math.abs!(BigInt).abs' cannot call impure function
'std.bigint.BigInt.opCmp!(int).opCmp'

If the message is too long feel free to file another bug after it's pulled so
we can tweak it, but for now it's important that we get proper info on what
exact function is being called.

*** This issue has been marked as a duplicate of issue 7050 ***

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