{"action":"created","issue":{"url":"https://api.github.com/repos/tbeu/Modelica/issues/369","repository_url":"https://api.github.com/repos/tbeu/Modelica","labels_url":"https://api.github.com/repos/tbeu/Modelica/issues/369/labels{/name}","comments_url":"https://api.github.com/repos/tbeu/Modelica/issues/369/comments","events_url":"https://api.github.com/repos/tbeu/Modelica/issues/369/events","html_url":"https://github.com/tbeu/Modelica/issues/369","id":195140947,"number":369,"title":"for loops and indices","user":{"login":"modelica-trac-importer","id":22202507,"avatar_url":"https://avatars.githubusercontent.com/u/22202507?v=3","gravatar_id":"","url":"https://api.github.com/users/modelica-trac-importer","html_url":"https://github.com/modelica-trac-importer","followers_url":"https://api.github.com/users/modelica-trac-importer/followers","following_url":"https://api.github.com/users/modelica-trac-importer/following{/other_user}","gists_url":"https://api.github.com/users/modelica-trac-importer/gists{/gist_id}","starred_url":"https://api.github.com/users/modelica-trac-importer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/modelica-trac-importer/subscriptions","organizations_url":"https://api.github.com/users/modelica-trac-importer/orgs","repos_url":"https://api.github.com/users/modelica-trac-importer/repos","events_url":"https://api.github.com/users/modelica-trac-importer/events{/privacy}","received_events_url":"https://api.github.com/users/modelica-trac-importer/received_events","type":"User","site_admin":false},"labels":[{"id":499441885,"url":"https://api.github.com/repos/tbeu/Modelica/labels/bug","name":"bug","color":"ee0701","default":true},{"id":499453872,"url":"https://api.github.com/repos/tbeu/Modelica/labels/P:%20normal","name":"P: normal","color":"aa8888","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-13T02:12:37Z","updated_at":"2016-12-13T02:12:46Z","closed_at":null,"body":"**Reported by choeger on 20 May 2010 12:59 UTC**\nHi,\r\n\r\na for loop statement as described by the Modelica 3.2 standard has the following flaws (page 223):\r\n\r\n 1. ```for_index : IDENT [ in expression ] ``` allows loops like ``` for a loop ``` which are of course syntactically invalid\r\n 1. The part ``` in expression ``` suggests that any expression might be used - this is at least semantically wrong. Table 3-1 calls the result of the \":\" operator a \"Array range\". Since there is no such type defined as far as I can see, I suggest that index expressions are limited to ``` in arithmetic_expression \":\" arithmetic_expression ```\n\nMigrated-From: https://trac.modelica.org/Modelica/ticket/369"},"comment":{"url":"https://api.github.com/repos/tbeu/Modelica/issues/comments/266615160","html_url":"https://github.com/tbeu/Modelica/issues/369#issuecomment-266615160","issue_url":"https://api.github.com/repos/tbeu/Modelica/issues/369","id":266615160,"user":{"login":"modelica-trac-importer","id":22202507,"avatar_url":"https://avatars.githubusercontent.com/u/22202507?v=3","gravatar_id":"","url":"https://api.github.com/users/modelica-trac-importer","html_url":"https://github.com/modelica-trac-importer","followers_url":"https://api.github.com/users/modelica-trac-importer/followers","following_url":"https://api.github.com/users/modelica-trac-importer/following{/other_user}","gists_url":"https://api.github.com/users/modelica-trac-importer/gists{/gist_id}","starred_url":"https://api.github.com/users/modelica-trac-importer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/modelica-trac-importer/subscriptions","organizations_url":"https://api.github.com/users/modelica-trac-importer/orgs","repos_url":"https://api.github.com/users/modelica-trac-importer/repos","events_url":"https://api.github.com/users/modelica-trac-importer/events{/privacy}","received_events_url":"https://api.github.com/users/modelica-trac-importer/received_events","type":"User","site_admin":false},"created_at":"2016-12-13T02:12:46Z","updated_at":"2016-12-13T02:12:46Z","body":"**Comment by dietmarw on 20 May 2010 13:21 UTC**\nDuplicate of #370"}}
{"actor":{"display_login":"modelica-trac-importer"}}