On the other hand, maybe it could be possible to add the final-like
mechanism to Mono's compiler. Such mechanism would be beneficial if the
CLR had some notion of local readonly variables. F# uses non-mutable
variables a lot, so maybe CLR recognizes it. I am not sure what kind of
transparent denotation could be used - maybe some kind of comment, like
it was done in MS Java in the pre-annotations days.

Does Mono team see this as something worth considering? Probably proper
analysis of assignments is a better idea.

--
Regards,
 Konrad

_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to