On 4/28/16 4:36 PM, Daniel Kozak via Digitalmars-d wrote:
Dne 28.4.2016 v 22:20 Steven Schveighoffer via Digitalmars-d napsal(a):

(BTW, swift doesn't allow arbitrary new scopes)
And D does?


Sure.

{
   int i = 0;
   while(i < 100) {...}
}

// i no longer defined

Won't work in swift.

-Steve

Reply via email to