[Vala] Compiler not reporting illegal access from static method



Given the following, the compiler crashes and fails to
report the illegal reference to 'thread' in the
static method 'foo'.

        public class Foo {
                unowned Thread<void*> thread;
        
                public static void foo () {
                        if (thread == null) { }
                }
        
                public static void main() {}
        }

I'm currently using 0.13.0. Is this bug still in
0.14.x? Should I file a bug report?

hand
Nor Jaidi Tuah





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