can't access an alias created inside an if statement
Flade via Digitalmars-d-learn Wed, 05 Aug 2020 02:10:38 -0700
I have used an if-else statement to create an alias to avoid code
duplication but it doesn't let me access it outside the if
statement. Is there a way to solve this?
- can't access an alias created insid... Flade via Digitalmars-d-learn
- Re: can't access an alias crea... Simen Kjærås via Digitalmars-d-learn
- Re: can't access an alias ... Flade via Digitalmars-d-learn
- Re: can't access an al... Simen Kjærås via Digitalmars-d-learn
- Re: can't access a... Flade via Digitalmars-d-learn