July 24 DIP Ideas » Re: Mixin every entity | |||
|---|---|---|---|
| |||
...name generated is a module. ```d module mixin(expr); ``` That is a big no-no... | |||
July 24 Issues » [Issue 24678] mixin does not work with interpolated strings | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=24678 Bolpat <qs.il.paperinik@gmail.com... | |||
July 24 Issues » [Issue 24678] New: mixin does not work with interpolated strings | |||
|---|---|---|---|
| |||
...const name = "x";
mixin(iq{int $(name) = 10;});
```
But it fails because `mixin` has no... | |||
July 24 DIP Ideas » Mixin every entity | |||
|---|---|---|---|
| |||
...d
struct mixin("C")
{
mixin("const"):
void f(mixin("ref") int x) mixin("@safe") { }
}
```
There’s... | |||
July 23 DIP Ideas » Explicit this for methods | |||
|---|---|---|---|
| |||
...need to create template function or string mixin-s. Syntax: - explicit `this` must be first... | |||
July 22 DIP Ideas » Re: Type Inference for Struct/Enum Literals | |||
|---|---|---|---|
| |||
...b=1,c=2 } ``` Or use a mixin to expand them. Also this syntax is... | |||
July 15 Issues » [Issue 24662] Add a way to pass mixin arguments to pragma(msg) before mixing in | |||
|---|---|---|---|
| |||
...dkorpel@live.nl> --- You can inspect the mixin output with the `-mixin=mymixins.d` switch -- | |||
July 15 Issues » [Issue 24662] Add a way to pass mixin arguments to pragma(msg) before mixing in | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=24662 Bolpat <qs.il.paperinik@gmail.com... | |||
July 15 Issues » [Issue 24662] New: Add a way to pass mixin arguments to pragma(msg) before mixing in | |||
|---|---|---|---|
| |||
...a `mixin` expression/declaration/statement be printed when generated. Essentially, the arguments to `mixin` are... | |||
July 15 Issues » [Issue 18625] mixin(__MODULE__) in string mixin results in undefined identifier in certain cases | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=18625 Bolpat <qs.il.paperinik@gmail.com... | |||
Copyright © 1999-2021 by the D Language Foundation