[Issue 2840] Missing line number for int %= complex

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jun 10 02:52:36 PDT 2009


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


Frits van Bommel <fvbommel at wxs.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|patch                       |
                 CC|                            |fvbommel at wxs.nl
         AssignedTo|bugzilla at digitalmars.com    |nobody at puremagic.com
         OS/Version|Windows                     |All




--- Comment #2 from Frits van Bommel <fvbommel at wxs.nl>  2009-06-10 02:52:34 PDT ---
Don, you may want to look at mtype.c, line 224. "basic[Terror] =
basic[Tint32]". That's right, Type::terror == Type::tint32. (This is why 'int'
shows up in so many error messages) So your patch would disable errors for any
expression that's legitimately of type int.
In order to fix it this way, you'd need to also introduce a separate error
type. (Which I'm sure many people would appreciate if done properly, by the
way)

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