On 09/09/2019 01:59 PM, Ali Çehreli wrote: > On 09/09/2019 12:08 PM, WhatMeWorry wrote: > > Is this even possible? > > No because there can't be expressions at module scope.
Attempting to correct myself: I think only declarations are allowed at module scope. Non-compile-time statements like for, switch, etc. cannot appear at module scope either.
Ali