{"action":"created","issue":{"url":"https://api.github.com/repos/gracelang/language/issues/62","repository_url":"https://api.github.com/repos/gracelang/language","labels_url":"https://api.github.com/repos/gracelang/language/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/gracelang/language/issues/62/comments","events_url":"https://api.github.com/repos/gracelang/language/issues/62/events","html_url":"https://github.com/gracelang/language/issues/62","id":134983789,"number":62,"title":"please remind me why \"alias\" rather than \"rename\" ","user":{"login":"kjx","id":1917107,"avatar_url":"https://avatars.githubusercontent.com/u/1917107?v=3","gravatar_id":"","url":"https://api.github.com/users/kjx","html_url":"https://github.com/kjx","followers_url":"https://api.github.com/users/kjx/followers","following_url":"https://api.github.com/users/kjx/following{/other_user}","gists_url":"https://api.github.com/users/kjx/gists{/gist_id}","starred_url":"https://api.github.com/users/kjx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kjx/subscriptions","organizations_url":"https://api.github.com/users/kjx/orgs","repos_url":"https://api.github.com/users/kjx/repos","events_url":"https://api.github.com/users/kjx/events{/privacy}","received_events_url":"https://api.github.com/users/kjx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-19T21:48:58Z","updated_at":"2016-02-19T22:07:34Z","closed_at":null,"body":"The point of *alias* is to allow _super-requests_ to overridden methods. If the super-method is always going to be redefined in the sub-object, why does the old one need to be there?\r\n\r\nThe main reason I'm asking is that aliasing variables and defs makes aliasing and exclusions more complex.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/gracelang/language/issues/comments/186429768","html_url":"https://github.com/gracelang/language/issues/62#issuecomment-186429768","issue_url":"https://api.github.com/repos/gracelang/language/issues/62","id":186429768,"user":{"login":"kjx","id":1917107,"avatar_url":"https://avatars.githubusercontent.com/u/1917107?v=3","gravatar_id":"","url":"https://api.github.com/users/kjx","html_url":"https://github.com/kjx","followers_url":"https://api.github.com/users/kjx/followers","following_url":"https://api.github.com/users/kjx/following{/other_user}","gists_url":"https://api.github.com/users/kjx/gists{/gist_id}","starred_url":"https://api.github.com/users/kjx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kjx/subscriptions","organizations_url":"https://api.github.com/users/kjx/orgs","repos_url":"https://api.github.com/users/kjx/repos","events_url":"https://api.github.com/users/kjx/events{/privacy}","received_events_url":"https://api.github.com/users/kjx/received_events","type":"User","site_admin":false},"created_at":"2016-02-19T22:07:34Z","updated_at":"2016-02-19T22:07:34Z","body":"What \"needs to be there\"?  the _alias_ or the _original method_?  \r\n\r\n```\r\nclass top {\r\n  method m { }\r\n}\r\nclass bot {\r\n  inherit top\r\n    alias n = m\r\n  method m { n }\r\n}\r\n```\r\n\r\nWe rename top.m as bot.n; why does top.m needs to be in copied into bottom and then overriden?\r\n\r\n\r\n"}}