Thread overview |
---|
June 06, 2007 [Issue 1259] New: Inline build triggers an illegal error msg "Error: S() is not an lvalue" | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=1259 Summary: Inline build triggers an illegal error msg "Error: S() is not an lvalue" Product: D Version: 1.015 Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla@digitalmars.com ReportedBy: onlystupidspamhere@yahoo.se Code: struct S(T...) { S opMul_r(real r) { return S(); } S!(1) opDiv(R)(R r) { return S!(1)(); } } void main() { S!(1) a; S!(0) b; auto c = 1 * a / b; } --- dmd bug.d -> compiles fine dmd -inline bug.d -> bug.d(2): Error: S() is not an lvalue -- |
June 26, 2007 [Issue 1259] Inline build triggers an illegal error msg "Error: S() is not an lvalue" | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1259 onlystupidspamhere@yahoo.se changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #1 from onlystupidspamhere@yahoo.se 2007-06-26 14:13 ------- Fixed in 1.017 -- |
July 23, 2007 [Issue 1259] Inline build triggers an illegal error msg "Error: S() is not an lvalue" | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1259 ------- Comment #2 from thomas-dloop@kuehne.cn 2007-07-23 15:08 ------- Added to DStress as http://dstress.kuehne.cn/run/t/tuple_25_A.d http://dstress.kuehne.cn/run/t/tuple_25_B.d http://dstress.kuehne.cn/run/t/tuple_25_C.d -- |
Copyright © 1999-2021 by the D Language Foundation