December 10, 2022
https://issues.dlang.org/show_bug.cgi?id=19545

--- Comment #8 from John Colvin <john.loughran.colvin@gmail.com> ---
(In reply to Salih Dincer from comment #6)
> No error, result is true:
> 
> void main()
> {
>   pragma(msg, __traits(compiles, inputRangeObject(RegexMatch!string.init)));
>   inputRangeObject(RegexMatch!string.init);
> }
> //import std.range, std.regex;/*
> struct RegexMatch(T){}
> 
> class InputRangeObject(R){
>     this(R){}
>     R front(){ return R.init; }
> }
> 
> InputRangeObject!R inputRangeObject(R)(R range) {
>     return new InputRangeObject!R(range);
> }//*/

Yes, if the code is correct then there is no problem. But the code in my example is not correct and despite that, the traits compiles gives true and then in more recent compilers the code does compile but then can’t link.

--
December 10, 2022
https://issues.dlang.org/show_bug.cgi?id=19545

John Colvin <john.loughran.colvin@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |accepts-invalid

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=19545

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P2

--
April 04, 2023
https://issues.dlang.org/show_bug.cgi?id=19545

RazvanN <razvan.nitu1305@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |razvan.nitu1305@gmail.com
         Resolution|---                         |DUPLICATE

--- Comment #9 from RazvanN <razvan.nitu1305@gmail.com> ---
This is a duplicate of 15459. Known issue: the template instance is cached even though it had errors.

*** This issue has been marked as a duplicate of issue 15459 ***

--
1 2
Next ›   Last »