May 16, 2023 Re: Deprecate case-variables | ||||
---|---|---|---|---|
| ||||
Posted in reply to Guillaume Piolat | On Monday, 15 May 2023 at 10:47:51 UTC, Guillaume Piolat wrote: > Seems hard to predict what the compiler will do. What if the variable has same value as another case? >> If two case expressions share a value, the first case statement with that value gets control. |
Copyright © 1999-2021 by the D Language Foundation