|
|
|
|
|
by int_19h
2687 days ago
|
|
C# could do the "effective final" rule, same as Java did - don't allow a variable to be closed over if it's mutated anywhere. And yet it didn't - which made implementation that much more complex, since capturing mutable locals requires lifting them to extend lifetime. |
|