On Fri, Aug 16, 2013 at 12:45 AM, David Korn <[email protected]> wrote:
> cc: [email protected]
> Subject: Re: Re: [ast-developers] AT&T Software Technology ast alpha software 
>  download update
> --------
>
>> ksh tst1.sh
>> tst1.sh: line 3: .sh.type.com.gelifesciences.tst1: no parent
>>
>> Irek
>
> Try this patch and see if it fixed the types problem in namespaces.
> =====================cut here======================
> --- old/sh/xec.c        Mon Aug 12 13:22:06 2013
> +++ new/sh/xec.c        Thu Aug 15 18:01:37 2013
[snip]
> =====================cut here======================

The patch seems to fix half the problems. The types can now be defined
but a variable declared with such a type can't find it's type
functions:
-- snip --
$ ksh -o nounset -c 'namespace a.b.c { typeset -T x_t=( integer i=5 )
; function pi { printf "i=%d\n" $((_.i+_.i)) ; } ; } ; .a.b.c.x_t var
; var.pi'
/bin/ksh: var.pi: not found
-- snip --
AFAIK this should print "10" ...

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) [email protected]
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 3992797
 (;O/ \/ \O;)
_______________________________________________
ast-developers mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-developers

Reply via email to