goto finally - fail. Why?

Brother Bill brotherbill at mail.com
Tue Aug 19 20:47:04 UTC 2025


On Tuesday, 19 August 2025 at 20:40:47 UTC, monkyyy wrote:
> On Tuesday, 19 August 2025 at 20:38:52 UTC, Brother Bill wrote:
>> If change 'finally' to 'finally1' in both places, it compiles 
>> and runs.
>> Why does 'finally' break compilation?
>> Is this a BUG or a FEATURE?
>>
>> [...]
>
> its a try-catch keyword

That's it! It's works exactly like C# too.  Same 'finally' 
keyword.



More information about the Digitalmars-d-learn mailing list