On Monday, 11 January 2021 at 20:25:14 UTC, Luhrel wrote:
I think if the DIP proposed a literal syntax instead of a new variable declaration syntax, it would be much less of a burden to the compiler. I think we don't have any partial (variable) type inference syntax ATM.

I don't think that will be complicated to implement, the compiler already says "mismatched array lengths, 2 and 1".

Ok, you're right. I still think a literal syntax is the more natural way to do this though.

Reply via email to