Nick Treleaven

Results 134 comments of Nick Treleaven

Generally, `x.$(my_string)` turns a compile-time known string into an identifier (not an expression). But this feature turns an array of strings into a tuple of expressions. vweb uses it here:...

> Instead it should just eagerly call the .array on the range of ranges for me That's potentially a breaking change for `@nogc` code. What's the advantage of that vs...

> `x` is a pointer, so why it could not be possible to modify it? It modifies what the pointer points to, which should be immutable. BTW I edited the...

> So @ntrel should that particular line really be an error? _V_ string is immutable and thus guarantees copy semantics, right? args.data is of type `&AnotherStruct`, not string. It's immutable...