Search

March 13, 2023
Issues »
...gets the chance to error about the assert. It makes sense that the assignment needs...
March 13, 2023
Issues »
...be fixed to prevent the error message of a static assert in the standard library.

--
March 13, 2023
Issues »
...static assert(components.length > 0);
--------------------

Compile command: dmd -main -i test.d

Expected behaviour: assert...
March 12, 2023
Learn »
...auto r = (new Int(1)).outConst(n);
  assert( r.x == 42 &&
    !isMutable!( typeof(r) )
  );//*/

  n...
March 12, 2023
Genel »
...xDot(V2(125, 225), V2(325, 425));
  assert(result == 136250);
}

i32 xLen(const V2 n...
March 11, 2023
Issues »
...lambda with Phobos as is. The static assert PR discussion said a compiler solution is...
March 11, 2023
Issues »
...from Nick Treleaven <nick@geany.org> ---
static assert is an improvement over the constraint, but...
March 11, 2023
Issues »
https://issues.dlang.org/show_bug.cgi?id=23773

--- Comment #1 from Nick Treleaven <nick...
March 11, 2023
Issues »
...ID: 23773
           Summary: array length assignment in assert condition should
                    error
           Product: D
           Version: D2...
March 11, 2023
Issues »
...that was fixed by adding the static assert, though the message doesn't mention that...
93 94 95 96 97 98 99 100 101 102 103 104
Next ›   Last »