[Issue 12267] [REG 2.065] Using struct as AA key sometimes require opCmp

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Feb 27 12:13:28 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=12267



--- Comment #4 from Jacob Carlborg <doob at me.com> 2014-02-27 12:13:26 PST ---
(In reply to comment #3)
> That's not what I'm seeing:
> 
> C:\Temp\D\issues\12267>
> "C:\Downloads\!dmd\dmd.2.065.0\dmd2\windows\bin\dmd.exe" -o- test.d
> test.d(2): Error: associative array key type S does not have 'const int
> opCmp(ref const S)' member function
> 
> Please check again. If the simple case above compiles for you, please post the
> exact compiler version, operating system, etc.

If I import std.stdio it compiles.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list