Re: [Vala] Regression on async with nullable out parameters



في س، 12-03-2011 عند 11:56 +0800 ، كتب Nor Jaidi Tuah:
The following crashed when compiled with Vala 0.11.6.
This is a regression since it works with 0.9.x.
[...]
When the while expression is changed to 

    while ((line = yield input.read_line_async (100, cancellable,
null)) != null) {

then it works. i.e. "out length" doesn't work, but "null" does.

Is this a known regression?
This is a bug in the bindings: length shouldn't be nullable in this
case. Please file a bug so it isn't forgotten.

HTH,
Abderrahim




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