Daniel Bonniot - 2004-09-14

Logged In: YES
user_id=88952

Agreed, this would be a clearer message. Thanks for the
suggestion.

In this specific case, I wonder why location() returns a
null type. The default for Java methods is to return
non-null type, unless there is a specific retyping. I guess
it's because there is a field called location. We should
change the behaviour so that this rule also applies to fields.

Also note that there is a location() method in Definition,
so you could simply write:
println(d.location().getClass());