{"action":"opened","issue":{"url":"https://api.github.com/repos/brownplt/LambdaS5/issues/55","labels_url":"https://api.github.com/repos/brownplt/LambdaS5/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/brownplt/LambdaS5/issues/55/comments","events_url":"https://api.github.com/repos/brownplt/LambdaS5/issues/55/events","html_url":"https://github.com/brownplt/LambdaS5/issues/55","id":66738749,"number":55,"title":"8.7.1 GetValue (V) - [[Get]], Step 6","user":{"login":"daejunpark","id":5491770,"avatar_url":"https://avatars.githubusercontent.com/u/5491770?v=3","gravatar_id":"","url":"https://api.github.com/users/daejunpark","html_url":"https://github.com/daejunpark","followers_url":"https://api.github.com/users/daejunpark/followers","following_url":"https://api.github.com/users/daejunpark/following{/other_user}","gists_url":"https://api.github.com/users/daejunpark/gists{/gist_id}","starred_url":"https://api.github.com/users/daejunpark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daejunpark/subscriptions","organizations_url":"https://api.github.com/users/daejunpark/orgs","repos_url":"https://api.github.com/users/daejunpark/repos","events_url":"https://api.github.com/users/daejunpark/events{/privacy}","received_events_url":"https://api.github.com/users/daejunpark/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-07T00:27:45Z","updated_at":"2015-04-07T00:27:45Z","closed_at":null,"body":"It seems to me that S5 does not conform to Section 8.7.1 GetValue (V), [[Get]], Step 6 in ES5.1.\r\n\r\nFor the following test program:\r\n```\r\n// 8.7.1 GetValue (V), [[Get]], Step 6\r\n\r\n// 6. If getter is undefined, return undefined.\r\n\r\n// For [[Get]] for a reference with a primitive base,\r\n// if its value is an accessor descriptor, and its getter is undefined, then it returns undefined.\r\n\r\nvar r;\r\nvar n;\r\nObject.defineProperty(Number.prototype, \"x\", { \"set\" : function (v) { n = v; }, \"enumerable\" : true, \"configurable\" : true });\r\nr = 1[\"x\"]; // undefined\r\nif (!(r === undefined)) {\r\n  $ERROR('Object.defineProperty(Number.prototype, \"x\", { \"enumerable\" : true, \"configurable\" : true, \"set\" : function (v) { n = v; } }); 1[\"x\"] is undefined. Actual: ' + r);\r\n}\r\n```\r\n\r\nS5 throws an exception, while it should have succeeded:\r\n```\r\n$ ./s5-test262  /tmp/01.js \r\n../envs/es5.env:6:0-5029:0\r\n<unknown>:11:-1--2\r\n<unknown>:11:-5--11\r\nUncaught error: \"[interp] (<unknown>:11:-5--11) Applied non-function, was actually undefined\"\r\n\r\nFatal error: exception Failure(\"Runtime error\")\r\n```\r\n\r\nIs there anything that I'm missing?"}}