Status: Accepted
Owner: [email protected]
CC: [email protected],  [email protected]
Labels: Type-Bug Priority-Medium Harmony

New issue 3760 by [email protected]: Improve function name inferrer for computed property names
https://code.google.com/p/v8/issues/detail?id=3760

Improve function name inferrer for computed property names.

Given:

var x = {
  ['m' + 1 + 2]() {
    throw new Error();
  }
};
try {
  x.m12();
} catch (ex) {
  print(ex.stack);
}

IE outputs:

Error
   at x[] (eval code:3:5)
   at eval code (eval code:7:3)

Whereas we output:

Error
    at Object.x ((d8):1:22)
    at (d8):1:3

My suggestion is that we use '[]', like IE does.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to