Thread overview
[Issue 16483] ICE in expression.d from typeof
Jan 15, 2017
b2.temp@gmx.com
Mar 21, 2020
Basile-z
January 15, 2017
https://issues.dlang.org/show_bug.cgi?id=16483

b2.temp@gmx.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |b2.temp@gmx.com

--- Comment #1 from b2.temp@gmx.com ---
As a workaround it's possible to mark the free function as "static". There's a more interesting error message with this similar example:

struct S
{
    enum a = bar!(x=>x)(true);
}

/*static*/ bool bar(alias foo)(bool b)
{
    return foo(b);
}
January 15, 2017
https://issues.dlang.org/show_bug.cgi?id=16483

bitter.taste@gmx.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bitter.taste@gmx.com

--- Comment #2 from bitter.taste@gmx.com ---
Covered by DMD's PR https://github.com/dlang/dmd/pull/6451

--
January 26, 2017
https://issues.dlang.org/show_bug.cgi?id=16483

--- Comment #3 from github-bugzilla@puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/3f94ea1ecba10d663faca0d4bc814057e40dbd70 Fix issue 16483 - Prevent an ICE with lambdas as template parameter

https://github.com/dlang/dmd/commit/254c25928bb5dc64fad12fbf5731db9864e5a8b7 Merge pull request #6451 from LemonBoy/b16483

Fix issue 16483 - Prevent an ICE with lambdas as template parameter

--
January 26, 2017
https://issues.dlang.org/show_bug.cgi?id=16483

github-bugzilla@puremagic.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--
February 24, 2017
https://issues.dlang.org/show_bug.cgi?id=16483

--- Comment #4 from github-bugzilla@puremagic.com ---
Commits pushed to newCTFE at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/3f94ea1ecba10d663faca0d4bc814057e40dbd70 Fix issue 16483 - Prevent an ICE with lambdas as template parameter

https://github.com/dlang/dmd/commit/254c25928bb5dc64fad12fbf5731db9864e5a8b7 Merge pull request #6451 from LemonBoy/b16483

--
March 22, 2017
https://issues.dlang.org/show_bug.cgi?id=16483

--- Comment #5 from github-bugzilla@puremagic.com ---
Commits pushed to stable at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/3f94ea1ecba10d663faca0d4bc814057e40dbd70 Fix issue 16483 - Prevent an ICE with lambdas as template parameter

https://github.com/dlang/dmd/commit/254c25928bb5dc64fad12fbf5731db9864e5a8b7 Merge pull request #6451 from LemonBoy/b16483

--
March 21, 2020
https://issues.dlang.org/show_bug.cgi?id=16483

Basile-z <b2.temp@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|b2.temp@gmx.com             |

--