On Jan 22, 2009, at 1:14 AM, Rémi Forax wrote:

In that case, you don't need '#',  Dynamic."setcar!"(aCons, aValue)
is not ambiguous. It will work with all qualified access to field and
method.

That's what we did in Groovy; it works well there. Java needs to be a little more formal, I think, and make a clear distinction between string literals and identifiers.

Restricting XIDs to qualified names is, I think, an unnatural restriction: It does not follow use cases exactly enough. In particular, it does not cover the use case I mentioned earlier, of defining exotic names (class/method/field) in Java, for access in other modules, where the spellings are formed by rules other than those governing (non-exotic) Java identifiers.

-- John
_______________________________________________
mlvm-dev mailing list
[email protected]
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

Reply via email to