1305 – Compiler hangs with templated opCmp returning templated class

D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 1305 - Compiler hangs with templated opCmp returning templated class
Summary: Compiler hangs with templated opCmp returning templated class
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D1 (retired)
Hardware: x86 Windows
: P2 normal
Assignee: Walter Bright
URL:
Keywords: ice-on-invalid-code
Depends on:
Blocks:
Reported: 2007年07月02日 03:19 UTC by Don
Modified: 2014年02月16日 15:22 UTC (History)
0 users

See Also:


Attachments
Add an attachment (proposed patch, testcase, etc.)

Note You need to log in before you can comment on or make changes to this issue.
Description Don 2007年07月02日 03:19:45 UTC
Also hangs with 1.018.
--------------
class A(C)
{
 A!(int) opCmp(T)(T x){ return null; }
}
void main()
{
 A!(short) a;
 bool c = a > a;
}
Comment 1 Don 2009年05月14日 01:36:58 UTC
Fixed DMD1.045 and 2.030.


AltStyle によって変換されたページ (->オリジナル) /