On Sun, Apr 13, 2008 at 10:11 PM, Jürg Billeter <[EMAIL PROTECTED]> wrote:
> On Tue, 2008-04-08 at 19:07 +0200, Jürg Billeter wrote:
> > So far, Vala doesn't use the non-null type information by default, i.e.
> > your application will work fine even if you don't specify the `?` type
> > suffix for
On Tue, 2008-04-08 at 19:07 +0200, Jürg Billeter wrote:
> So far, Vala doesn't use the non-null type information by default, i.e.
> your application will work fine even if you don't specify the `?` type
> suffix for possibly-null types. That's about to change in the upcoming
> 0.3.x releases. Autom
On Wed, 2008-04-09 at 16:20 -0400, Michel Salim wrote:
> On Tue, Apr 8, 2008 at 1:07 PM, Jürg Billeter <[EMAIL PROTECTED]> wrote:
>
> > Short example:
> >
> > public void foo (Bar bar) {
> > // bar is expected to be non-null
> > // will be enforced at run-time in future Vala ve
On Tue, Apr 8, 2008 at 1:07 PM, Jürg Billeter <[EMAIL PROTECTED]> wrote:
> Short example:
>
> public void foo (Bar bar) {
> // bar is expected to be non-null
> // will be enforced at run-time in future Vala versions
> }
>
> public void foo (Bar? bar) {
> // bar i
Vala differentiates between non-null and possibly-null types by means of
the type suffix `?` since version 0.1.6. The advantages of
distinguishing between non-null and possibly-null types are
* Interface documentation for method parameters and return values
* Automatic generation of r