Brian Schott

Results 76 comments of Brian Schott

Found it: https://dlang.org/changelog/2.083.0.html#mangle_cpp This was an intentional change to the language that never made it into the spec.

This gets dumber. I dug into the parser code in DMD and found that it's not looking for string literals. It's looking for a list of conditional expressions, or in...

It's probably the way it is so that you can use enums of type `string` or CTFE code to generate the namespace.

This actually isn't a false positive. `studient1` is not modified. When you make `student1` `const`, declaring `student2` as `auto` with `student1` as the initializer means that you actually defined `student2`...

I've been putting this off because of how hard it is to get right. Here's a simple example of code that will cause a straightforward algorithm to fail: ``` d...

Yes. Implementing this will require that I rewrite large parts of dfmt.

Or add some really ugly code to my pre-parsing step...

This would not be too hard to do for versions that are expected to be passed to the compiler, but it would be much more tricky to solve in the...

I'm busy with a giant refactoring of DCD. If you want this, do it yourself. To implement: 1) Update the README to document the intended behavior 2) Update the config...