Pijamas, a simple fluent assertation library (forked from Pyjamas)

Luis luis.panadero at gmail.com
Fri May 15 14:47:01 UTC 2020


On Friday, 15 May 2020 at 14:42:47 UTC, Dmitry Olshansky wrote:
> On Friday, 15 May 2020 at 12:35:27 UTC, Luis wrote:
>> On my run to raise stuff from dead packages, I come with 
>> Pijamas. A fork from Yamadacpc’s Pyjamas that works with D 
>> frontend 2.090 and forwards.
>>
>> [...]
>
> I was about to ask what is broken with ctRegex (well except 
> that compiler usually explodes trying to swallow it)
>>
>> [...]

Indeed. Was this error :

dub test
Generating test runner configuration 'pyjamas-test-unittest' for 
'unittest' (library).
Performing "unittest" build using /usr/bin/dmd for x86_64.
pyjamas 0.2.1+commit.20.g765cd5c: building configuration 
"pyjamas-test-unittest"...
tests/pyjamas_spec.d(154,22): Error: template 
pyjamas.Assertion!string.Assertion.match cannot deduce function 
from argument types !()(CTRegexWrapper!char), candidates are:
source/pyjamas.d(273,10):        match(RegEx)(RegEx re, string 
file = __FILE__, size_t line = __LINE__)
   with RegEx = CTRegexWrapper!char
   must satisfy one of the following constraints:
        is(RegEx == RegexOfT)
        is(RegEx == StaticRegexOfT)
        isSomeString!RegEx
tests/pyjamas_spec.d(155,45): Error: template 
pyjamas.Assertion!string.Assertion.match cannot deduce function 
from argument types !()(CTRegexWrapper!char), candidates are:
source/pyjamas.d(273,10):        match(RegEx)(RegEx re, string 
file = __FILE__, size_t line = __LINE__)
   with RegEx = CTRegexWrapper!char
   must satisfy one of the following constraints:
        is(RegEx == RegexOfT)
        is(RegEx == StaticRegexOfT)
        isSomeString!RegEx
/usr/bin/dmd failed with exit code 1.



More information about the Digitalmars-d-announce mailing list