On Wed, 2010-05-26 at 20:23 +0200, pancake wrote:
> And if it's a subclass? Which is what 'as' does.
> 

'as' is safe. If the cast is incompatible, you
get null.

Of course vala could have been designed to allow
  test(out bar as Bar)
or some other syntax to tell the compiler that
we know what we are doing.

hand
Nor Jaidi Tuah


_______________________________________________
vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to