http://d.puremagic.com/issues/show_bug.cgi?id=6665
Walter Bright changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=6665
Maksim Zholudev changed:
What|Removed |Added
CC||maxim...@gmail.com
--- Comment #7 fr
http://d.puremagic.com/issues/show_bug.cgi?id=6665
--- Comment #6 from David Simcha 2011-10-13 11:38:40 PDT ---
BTW, all this stuff works on the latest GDC, so it's definitely not in any code
shared between DMD and GDC.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=e
http://d.puremagic.com/issues/show_bug.cgi?id=6665
--- Comment #5 from David Simcha 2011-10-13 11:37:07 PDT ---
Even more thoroughly reduced test case:
void main()
{
auto foo = Indexed([1.0f, 2, 3], [1, 2, 3]);
}
@property ref T front(T)(T[] a)
{
return a[0];
}
struct Indexed
{
f
http://d.puremagic.com/issues/show_bug.cgi?id=6665
David Simcha changed:
What|Removed |Added
CC||dsim...@yahoo.com
--- Comment #4 from D
http://d.puremagic.com/issues/show_bug.cgi?id=6665
--- Comment #3 from Don 2011-09-14 18:15:21 PDT ---
Compiling the first case with -inline gives an error:
c:\dmd\windows\bin\..\..\src\phobos\std\algorithm.d(423): Error: function D
main
is a nested function and cannot be accessed from array
http://d.puremagic.com/issues/show_bug.cgi?id=6665
--- Comment #2 from iteronve...@gmail.com 2011-09-14 13:03:36 PDT ---
Yes, the imports are what you have listed.
This might be just a Linux issue. Here are the results for 32-bit Linux:
Compiles but gives 'Segmentation fault'
void main(){
http://d.puremagic.com/issues/show_bug.cgi?id=6665
Don changed:
What|Removed |Added
Keywords||ice-on-valid-code
CC|