Status: New
Owner: ----
New issue 1527 by [email protected]: ReferenceError points to wrong line
in the source code
http://code.google.com/p/v8/issues/detail?id=1527
Originally reported here: https://github.com/joyent/node/issues/241
$ cat tmp/issue241.js
var o1 = {foo: 'bar'};
var o2 = {
1: 'blah',
2: o1.foo,
3: foo
}
$ ./shell tmp/issue241.js
tmp/issue241.js:4: ReferenceError: foo is not defined
2: o1.foo,
^
ReferenceError: foo is not defined
at tmp/issue241.js:4:8
The error message points to line 4 (o1.foo) but line 5 (foo) is the real
culprit. Tested against bleeding_edge@8519.
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev