Nick Treleaven

Results 66 issues of Nick Treleaven

From https://dlang.org/spec/expression.html#.define-lvalue > The following expressions, and no others, are called lvalue expressions or lvalues ... > cast(U) expressions applied to lvalues of type T when T* is implicitly convertible...

Bug Fix
Needs Rebase
stalled

…t match expected function type Also add ~~`globals.errorBuf`~~ ~~`ErrorSinkBuffer`~~ to divert gagged errors. (This will also be useful for another pull I'm working on).

Bug Fix
Needs Rebase
stalled

~Disallow~ Deprecate null literal runtime SA initializer (except as an element initializer when element type accepts null). Rationale in bug below. Disallow `init` as runtime SA initializer when static array...

Needs Changelog
stalled

See Issue 21690 - Unable to dynamic cast extern(C++) classes. Instead, use `cast(Derived)cast(void*)base`.

Bug Fix

Works when dmd is compiled in debug mode. Only detects simple non-suffix options. Hopefully any PRs forgetting to call `gotOpt` will be detected in reviews as surrounding lines tend to...

Enhancement
Needs Rebase
stalled

This is for https://github.com/dlang/dmd/pull/15339. I have ignored the ImaginarySuffix FloatLiteral variants, as they are deprecated.

If using a git repository URL is going to fully replace `~branch`, we would also need a way to specify a git branch for `dub run`. E.g. currently this works...

enhancement
good first issue

Also fix the first line of geany.css being uncommented when opening the config file through the menus.

See https://dlang.org/library-prerelease/std/algorithm/searching/count.html ![image](https://github.com/dlang/ddox/assets/1107820/1ac3fdb8-a289-48d9-83d5-ddf0e46e1208) Ddox could list the short description next to the overload set links at the top: * [Function count]() - Counts matches of `needle` in `haystack` * [Function...