[Issue 8234] symbols used in CTFE affect the function literal type

2015-06-17 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8234

--- Comment #4 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/cd3cd0dc66dbc40b9666a3b2b2b8efde8c0e0216
fix Issue 8234 - symbols used in CTFE affect the function literal type

https://github.com/D-Programming-Language/dmd/commit/c420fa1f642bfcb2aa0ba4bf7778b9c34465131b
Merge pull request #4517 from 9rnsr/fix8234

--


[Issue 8234] symbols used in CTFE affect the function literal type

2015-03-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8234

--- Comment #3 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/cd3cd0dc66dbc40b9666a3b2b2b8efde8c0e0216
fix Issue 8234 - symbols used in CTFE affect the function literal type

https://github.com/D-Programming-Language/dmd/commit/c420fa1f642bfcb2aa0ba4bf7778b9c34465131b
Merge pull request #4517 from 9rnsr/fix8234

Issue 8234 - symbols used in CTFE affect the function literal type

--


[Issue 8234] symbols used in CTFE affect the function literal type

2015-03-25 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8234

Kenji Hara  changed:

   What|Removed |Added

   Keywords||pull

--- Comment #2 from Kenji Hara  ---
https://github.com/D-Programming-Language/dmd/pull/4517

--


[Issue 8234] symbols used in CTFE affect the function literal type

2012-06-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8234


Don  changed:

   What|Removed |Added

 CC||clugd...@yahoo.com.au


--- Comment #1 from Don  2012-06-26 23:48:13 PDT ---
This is not a CTFE bug.

void foo()
{
immutable int x = 0;
auto k = *(){enum e=x;return e;};
}

bug.d(4): Error: can only * a pointer, not a 'immutable(int) delegate() pure
nothrow @safe'

Closure inference for 'is this a delegate literal' vs 'is this a function
literal' incorrectly checks enum initializers.
Similar to bug 6169.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---