On Saturday, 27 August 2022 at 13:20:13 UTC, hype_editor wrote:
I need to use function `eval` sometimes, but compiler throws an
error: `Error: variable `firstOperand` cannot be read at
compile time`.
You're probably misunderstanding `mixin`. It does not work like
an eval function at Lisp or
On Saturday, 27 August 2022 at 13:20:13 UTC, hype_editor wrote:
I need to use function `eval` sometimes, but compiler throws an
error: `Error: variable `firstOperand` cannot be read at
compile time`.
```d
override public double eval()
{
double firstOperand = firs
I need to use function `eval` sometimes, but compiler throws an
error: `Error: variable `firstOperand` cannot be read at compile
time`.
```d
import std.array;
import std.format;
public class BinaryOperatorExpression
{
private
{
string operator;
Ex