https://issues.dlang.org/show_bug.cgi?id=19545
RazvanN changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
https://issues.dlang.org/show_bug.cgi?id=19545
Iain Buclaw changed:
What|Removed |Added
Priority|P1 |P2
--
https://issues.dlang.org/show_bug.cgi?id=19545
John Colvin changed:
What|Removed |Added
Keywords||accepts-invalid
--
https://issues.dlang.org/show_bug.cgi?id=19545
--- Comment #8 from John Colvin ---
(In reply to Salih Dincer from comment #6)
> No error, result is true:
>
> void main()
> {
> pragma(msg, __traits(compiles, inputRangeObject(RegexMatch!string.init)));
>
https://issues.dlang.org/show_bug.cgi?id=19545
--- Comment #7 from Salih Dincer ---
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
https://issues.dlang.org/show_bug.cgi?id=19545
Salih Dincer changed:
What|Removed |Added
CC||sali...@hotmail.com
--- Comment #6 from
https://issues.dlang.org/show_bug.cgi?id=19545
--- Comment #5 from John Colvin ---
(In reply to John Colvin from comment #1)
> void main()
> {
> pragma(msg, __traits(compiles,
> inputRangeObject(RegexMatch!string.init)));
> inputRangeObject(RegexMatch!string.init);
> }
>
> struct
https://issues.dlang.org/show_bug.cgi?id=19545
Walter Bright changed:
What|Removed |Added
See Also||https://issues.dlang.org/sh
https://issues.dlang.org/show_bug.cgi?id=19545
FeepingCreature changed:
What|Removed |Added
CC||default_357-l...@yahoo.de
--- Comment #4
https://issues.dlang.org/show_bug.cgi?id=19545
Walter Bright changed:
What|Removed |Added
Keywords||industry, wrong-code
CC|
https://issues.dlang.org/show_bug.cgi?id=19545
--- Comment #3 from John Colvin ---
(In reply to John Colvin from comment #2)
> class C()
> {
> int foo() { }
> }
>
> C!() c()()
> {
> return new C!()();
> }
>
> static assert(!__traits(compiles, c()));
not sure what this was about, maybe
https://issues.dlang.org/show_bug.cgi?id=19545
--- Comment #2 from John Colvin ---
class C()
{
int foo() { }
}
C!() c()()
{
return new C!()();
}
static assert(!__traits(compiles, c()));
--
https://issues.dlang.org/show_bug.cgi?id=19545
--- Comment #1 from John Colvin ---
void main()
{
pragma(msg, __traits(compiles, inputRangeObject(RegexMatch!string.init)));
inputRangeObject(RegexMatch!string.init);
}
struct RegexMatch(T)
{
}
class InputRangeObject(R)
{
this(R)
{
https://issues.dlang.org/show_bug.cgi?id=19545
John Colvin changed:
What|Removed |Added
Component|phobos |dmd
--
14 matches
Mail list logo