[Issue 6358] Segfault when using an member template (not a template instance) in an expression.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Apr 20 15:50:25 PDT 2012


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


SomeDude <lovelydear at mailmetrash.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lovelydear at mailmetrash.com


--- Comment #1 from SomeDude <lovelydear at mailmetrash.com> 2012-04-20 15:51:22 PDT ---
The test case doesn't compile on 2.059 Win32, but doesn't crash.

PS E:\DigitalMars\dmd2\samples> rdmd -w --main bug.d
bug.d(8): Error: cannot resolve type for s.peek(T)
bug.d(8): Error: incompatible types for ((s.peek(T)) is (& s)): '_error_' and
'S6358*'
bug.d(12): Error: cannot resolve type for s.peek(T)
bug.d(12): Error: incompatible types for ((s.peek(T)) + (& s)): '_error_' and
'S6358*'
bug.d(16): Error: cannot resolve type for s.peek(T)
PS E:\DigitalMars\dmd2\samples>

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