Open TheOnlyTails opened 3 weeks ago
Currently, const declarations do not support spreading records:
const
const a = Foo(1, 2) const b = Foo(..a, 3)
I propose that if the spread record is also a const, it should be allowed.
Sounds good!
Currently,
const
declarations do not support spreading records:I propose that if the spread record is also a
const
, it should be allowed.