Re: [Vala] Type parameter not stored as expected



On 12/09/2014 02:31, Andy Lees wrote:
Greetings,

I have a data type used to store parser state declared as:
  class ReaderState {
    public Object obj;
    public bool in_array;
    public Type type;
    public TypeClass kl;

    public ReaderState (Object o, bool a, Type t, TypeClass k) {
      this.obj = o;
      this.in_array = a;
      this.type = t;
      this.klass = k;
    }
  }

Can you please provide a self-contained test case with a main() that I
can compile and run?


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