I noticed that

  typeset -T X_t=(
        typeset a=aha
        typeset b=${_.a}
  )

  X_t x
  print ${x.b}

prints nothing. Is this intended or a bug? The corresponding case

  typeset Y=(
        typeset a=aha
        typeset b=${Y.a}
  )

  print ${Y.b}

prints "aha", so it appears at least somewhat inconsistent.

A related question: As ksh now is going object oriented, what about using _() as a constructor and calling it automatically when a variable of this type is defined?

Regards,
Bernd

--
Bernd Eggink
[EMAIL PROTECTED]
http://sudrala.de
_______________________________________________
ast-developers mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-developers

Reply via email to