[Proposal] About null-coalescening with throws (with discards) #4179
Answered
by
huoyaoyuan
Alysaar
asked this question in
Language Ideas
-
I see a lot of people suggesting While I certainly see the appeal of this shorter syntax, it feels like a perversion of how discards are supposed to be used. I suggest allowing throws on the right-hand side without assignments, like so : |
Beta Was this translation helpful? Give feedback.
Answered by
huoyaoyuan
Nov 26, 2020
Replies: 1 comment
-
#2145 is covering the main scenarios |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Alysaar
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
#2145 is covering the main scenarios