Hilfe 3.3 fails to add arrays
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3109
Reported by Marcus Agehall agehall@roxen.com
When adding two arrays hilfe sometimes fail:
Pike v7.3 release 31 running Hilfe v3.3 (Incremental Pike Frontend)
> array a=({"a", "b", "c"});
> ({"1"})+a;
Variable declaration detection in relocation broke.
Compiler Error: 1:'a' undefined.
> a;
(1) Result: ({ /* 3 elements */
"a",
"b",
"c"
})
> a+a;
(2) Result: ({ /* 6 elements */
"a",
"b",
"c",
"a",
"b",
"c"
})
> array b = ({"1"})+a;
> b;
(3) Result: ({ /* 4 elements */
"1",
"a",
"b",
"c"
})