February 02, 2006 Ambiguous type inference crashes compiler | ||||
---|---|---|---|---|
| ||||
This should produce an error message; instead, compiler goes ape. ------------- const uint baboon = 3; const int monkey = 4; const ape = monkey * baboon; |
February 04, 2006 Re: Ambiguous type inference crashes compiler | ||||
---|---|---|---|---|
| ||||
Posted in reply to Don Clugston Attachments: | Don Clugston schrieb am 2006-02-02: > This should produce an error message; instead, compiler goes ape. > ------------- > const uint baboon = 3; > > const int monkey = 4; > > const ape = monkey * baboon; Added to DStress as http://dstress.kuehne.cn/nocompile/c/const_30_A.d http://dstress.kuehne.cn/nocompile/c/const_30_B.d http://dstress.kuehne.cn/nocompile/c/const_30_C.d http://dstress.kuehne.cn/nocompile/c/const_30_D.d http://dstress.kuehne.cn/run/c/const_30_E.d http://dstress.kuehne.cn/nocompile/c/const_30_F.d Thomas |
Copyright © 1999-2021 by the D Language Foundation