Nick Treleaven

Results 134 comments of Nick Treleaven

Cleaned up & updated the document, also contains some queries about Volt vs D, feature and minor syntax ideas. Please let me know if you don't like reading Google docs,...

No problem, I was busy yesterday after posting here :-) Thanks for the reply. > forcing cast(int)boolVar to do math on bools seems iffy I think bool can implicitly convert...

> I don't think we want to implicitly convert 0 and 1 to bools at all so I think we should leave it at that. Added test cases to our...

The grammar says this is just a token: > TemplateThisParameter: this TemplateTypeParameter I'm not sure how to make it a semantic check. In templateparametersem.d there is `Scope sc` available, is...

Given modules, are namespaces still needed?

It seems unfortunate that a fix for tabs became a more complex fix for unicode which then didn't get reviewed and so even the tab fix didn't get merged.

@MrSmith33 There seems nothing wrong with the first commit. The second commit I haven't looked at. Is it OK for me to make a pull with just the first commit,...

What about when the element type is not plain old data as mentioned in the changelog: https://github.com/dlang/dmd/pull/14562/files#diff-a773cf7a39af2594f4e2e4f8aa41047d2b2f10a8558a5f0cb1c7d4c86f6d0304R23

Declaring a runtime constant is quite noisy: ```c++ v := expr; c: const _ = expr; ``` That's enough typing and noise to avoid marking constants. So the status quo...

> This should be rejected For consistency, yes. But in both cases it would be nice to only error if the variable is actually used after the branch. If it...