Update some time later: the only way (oof!) around this seems to be using a `static foreach` with arrays:
```D Button[3] b; static foreach (indx, BoardSize boardSize; arr) { b[indx] = new Button(); b[indx].text = format("%sx%s", boardSize[0], boardSize[1]); b[indx].onButtonClick = {eventHandler.settingsWindow_onBoardSizeButtonClick(boardSize);
}; _boardSizeRow.addChild(b[indx]); } ``` Any other ways of fixing this annoying issue?