Bienlein:
What I was actually looking for was how to get this to work:immutable int b = if(1 == 1) { return 123; } else { return 456; };
immutable b = (1 == 1) ? 123 : 456; Bye, bearophile
Bienlein:
What I was actually looking for was how to get this to work:immutable int b = if(1 == 1) { return 123; } else { return 456; };
immutable b = (1 == 1) ? 123 : 456; Bye, bearophile