On 11-02-25 02:35 PM, Igor Bukanov wrote:
With most fonts it is not possible to see that the following ES
fragment should alert 1, not 2. I guess such problems are not
considered high on the list of language designs.
javascript:var a = 1; а = 2; alert(a);
Also note that UAX 36 and 39 cover these issues in more detail,
including defining various additional restriction subsets. Some of those
subsets, with or without combination of locale information, could
provide some defense here. Particularly, as I say, as a pragma.
-Graydon
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev