Steven Schveighoffer

Results 100 issues of Steven Schveighoffer

The refcounted mechanism in `Throwable` determines whether the `nextInChain` throwable is refcounted by dereferencing the pointer. This is not valid while in the destructor when the `Throwable` is being destroyed...

I have recently upgraded my macbook to an M4 model, and I am seeing now some warnings about sse features: ``` Starting Performing "debug" build using /Users/steves/.dlang/ldc2-1.40.0/ldc2-1.40.0-osx-universal/bin/ldc2 for aarch64, arm_hardfloat....

When building with the `--single` mode (i.e. a single D file with the dub recipe in the comments), dub requires a `name` directive. However, dmd does not require this, and...

A `SortedRange` may carry with it a predicate, which means that the data is sorted according to the predicate, not the default comparison. However, `std.algorithm.searching.find` has special casing for `SortedRange`...

Severity:Regression

Passing in a `string` to `tempCString` that has internal NUL characters will not return an equivalent C string. In fact, a C string cannot represent such a string. But `tempCString`...

In my opinion, this code should fail to compile: ```d struct Foo(T, string s = "hi") {} Foo!(int, "bye") f; static assert(is(typeof(f) == Foo!U, U)); ``` Why? Because `Foo!U` should...

```d import std.stdio; import std.range; import std.array; import std.datetime.stopwatch; int[] arr = iota(1000).array; int[] arr2 = iota(1000).array; void main() { StopWatch sw; sw.start(); int val; foreach(i; 0 .. 1_000_000) {...

Severity:Regression

This compiles on 2.110, but not on 2.111: ```d alias foo = printf; import core.stdc.stdio; ``` ``` testme.d(1): Error: `printf` is not defined, perhaps `import core.stdc.stdio;` ? alias foo =...

Severity:Regression

It has become increasingly obvious that fiber-based i/o will not cut it for async in D. Given that, we need an explicit mechanism to do async i/o in iopipe. I...

I have noticed when trying to use the online rGuiStyler, and I export a style as a .h file, the file does not load properly for my code, the screen...