-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathBUGS
40 lines (26 loc) · 1.32 KB
/
BUGS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
====== OPEN BUGS ======
When fixing a bug, remove it from this list. When we get a BTS things
will be more streamlined. --lars
#0001 2007-04-24 / lth
Incorrect namespace sets for property lookup. Consider code in the
Array package:
public static function join(self, sep = undefined)
...
prototype function join(sep = undefined)
Array.join(this, sep);
intrinsic function join(sep = undefined):String
Array.join(this, sep);
Here the "Array." qualification is currently necessary, but it should not
be, because statics should be visible and should not be shadowed by instance
methods (I think).
#0006 2007-04-26 / lth
The arguments object is wrong. It can't be an Array object, it
needs to be an Object that delegates to the Array prototype. This
is important because the "length" field must always be the actual
number of arguments passed, not taking into account defaults or rest
args. Thus initializing it from the instantiated formal argument
list is not at all correct.
Also, the arguments object must appear to share storage with its
activation record, this can be handled by instantiating it with
scoped getters and setters when it is created (and this is a good
specification mechanism, probably).