You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

32 lines
962 B

--- !ditz.rubyforge.org,2008-03-06/issue
title: add a 'length' property to user Duktape/C functions too?
desc: ""
type: :task
component: duk
release: v0.10
reporter: sva <sami.vaarala@iki.fi>
status: :unstarted
disposition:
creation_time: 2013-11-04 21:22:21.310962 Z
references: []
id: ff420f0d79620030bf4ccc597577ac489eca8b50
log_events:
- - 2013-11-04 21:22:21.471209 Z
- sva <sami.vaarala@iki.fi>
- created
- ""
- - 2014-01-16 21:33:06.947371 Z
- sva <sami.vaarala@iki.fi>
- assigned to release v0.10 from v0.9
- ""
- - 2014-02-04 19:58:51.950472 Z
- sva <sami.vaarala@iki.fi>
- commented
- |-
Perhaps add a virtual property 'length' based on 'nargs' value. If a concrete
property is written, it could override the virtual property. This is probably
needed by built-ins whose 'length' and 'nargs' don't always match.
This would have the side effect that 'length' couldn't be deleted from Duktape/C
functions.