Pattern destructuring could enable calling FunctionType
s
#4234
Labels
feature
Proposed language feature that solves one or more problems
Today we have patterns that allow us to deconstruct a variable:
I think of this structure like:
Basically the
=
operator but swapped:We also can get a method as a
FunctionType
:I'd like to request a change in that we could:
And for
Future
we could addawait
beforevar
like:The text was updated successfully, but these errors were encountered: