[Vala] Crash when generate .gir



I try to use valac (0.12, 0.14, 0.16) to generate .gir. I found that if my
vala code look like below

namespace Bla
{
    public enum MyEnum
    {
        VALUE1,
        VALUE2
    }

    public class MyObj
    {
        public MyEnum e;
    }
}

valac will segfault. If I replace
public MyEnum e;
with
public int e;

Everything just fine.

Derek Dai


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