Re: [Vala] Request for new keyword "nobreak"



On Thu, Jan 24, 2013 at 10:14 PM, Nelson, Jim <jim yorba org> wrote:
Apparently this is possible in C# with the "goto case <label>" syntax:

http://stackoverflow.com/questions/174155/switch-statement-fallthrough-in-c

Doesn't work in Vala, however.

I'm not advocating for switch-case fallthrough, but C# was able to provide
it without reserving another keyword.

I know about that C# hack, but I think it is a rather ugly and as you
said, does not work in Vala.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]