{"action":"created","issue":{"url":"https://api.github.com/repos/LorenzoBettini/xsemantics/issues/64","labels_url":"https://api.github.com/repos/LorenzoBettini/xsemantics/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/LorenzoBettini/xsemantics/issues/64/comments","events_url":"https://api.github.com/repos/LorenzoBettini/xsemantics/issues/64/events","html_url":"https://github.com/LorenzoBettini/xsemantics/issues/64","id":119948348,"number":64,"title":"Error specification doesn't support index for multi-valued features","user":{"login":"lwrage","id":750311,"avatar_url":"https://avatars.githubusercontent.com/u/750311?v=3","gravatar_id":"","url":"https://api.github.com/users/lwrage","html_url":"https://github.com/lwrage","followers_url":"https://api.github.com/users/lwrage/followers","following_url":"https://api.github.com/users/lwrage/following{/other_user}","gists_url":"https://api.github.com/users/lwrage/gists{/gist_id}","starred_url":"https://api.github.com/users/lwrage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lwrage/subscriptions","organizations_url":"https://api.github.com/users/lwrage/orgs","repos_url":"https://api.github.com/users/lwrage/repos","events_url":"https://api.github.com/users/lwrage/events{/privacy}","received_events_url":"https://api.github.com/users/lwrage/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-02T14:07:09Z","updated_at":"2015-12-02T14:39:32Z","closed_at":null,"body":"In a DSL I have a mechanism to pass arguments to a function. Each argument must be a variable, so in my metamodel the argument list consists of a list of references to variable declarations. I use Xsemantics to check if the type of the arguments matches the parameter type in the function declaration. However, if there is an error I have no way to associate it with the specific argument because I cannot pass an index to the error specification. As a result the whole argument list is underlined in the editor and not just the offending variable name inside the list."},"comment":{"url":"https://api.github.com/repos/LorenzoBettini/xsemantics/issues/comments/161318323","html_url":"https://github.com/LorenzoBettini/xsemantics/issues/64#issuecomment-161318323","issue_url":"https://api.github.com/repos/LorenzoBettini/xsemantics/issues/64","id":161318323,"user":{"login":"LorenzoBettini","id":1202254,"avatar_url":"https://avatars.githubusercontent.com/u/1202254?v=3","gravatar_id":"","url":"https://api.github.com/users/LorenzoBettini","html_url":"https://github.com/LorenzoBettini","followers_url":"https://api.github.com/users/LorenzoBettini/followers","following_url":"https://api.github.com/users/LorenzoBettini/following{/other_user}","gists_url":"https://api.github.com/users/LorenzoBettini/gists{/gist_id}","starred_url":"https://api.github.com/users/LorenzoBettini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LorenzoBettini/subscriptions","organizations_url":"https://api.github.com/users/LorenzoBettini/orgs","repos_url":"https://api.github.com/users/LorenzoBettini/repos","events_url":"https://api.github.com/users/LorenzoBettini/events{/privacy}","received_events_url":"https://api.github.com/users/LorenzoBettini/received_events","type":"User","site_admin":false},"created_at":"2015-12-02T14:39:32Z","updated_at":"2015-12-02T14:39:32Z","body":"Hi\r\nusing \"source\" and \"feature\" in the error specification is not enough?\r\nIf you pass the specific argument to the error specification, this won't work?"}}