Re: [Vala] Proper Syntax for Array of Nullable Strings



Sam Wilson wrote:
Subject: Re: [Vala] Proper Syntax for Array of Nullable Strings
From: zarevucky jiri gmail com
To: tecywiz121 hotmail com
CC: vala-list gnome org
Date: Wed, 20 Jan 2010 23:08:19 +0100

tecywiz121 píše v St 20. 01. 2010 v 16:49 -0500:
I am just wondering if it is possible to have an array of nullable
strings, and if so, what is the proper syntax?

Sam

I believe array of class type can always contain nulls. Or am I
mistaken? 

Doesn't that defeat the purpose of having non-nullable types by default?

Yes. However, Vala is more strict with --enable-experimental-non-null.
Without it Vala will only check method arguments.


Best regards,

Frederik



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]