{"action":"closed","issue":{"url":"https://api.github.com/repos/kaitai-io/kaitai_struct_compiler/issues/121","repository_url":"https://api.github.com/repos/kaitai-io/kaitai_struct_compiler","labels_url":"https://api.github.com/repos/kaitai-io/kaitai_struct_compiler/issues/121/labels{/name}","comments_url":"https://api.github.com/repos/kaitai-io/kaitai_struct_compiler/issues/121/comments","events_url":"https://api.github.com/repos/kaitai-io/kaitai_struct_compiler/issues/121/events","html_url":"https://github.com/kaitai-io/kaitai_struct_compiler/issues/121","id":282245654,"number":121,"title":"repeat-expr can't use fields defined in instances","user":{"login":"yannayl","id":7497681,"avatar_url":"https://avatars3.githubusercontent.com/u/7497681?v=4","gravatar_id":"","url":"https://api.github.com/users/yannayl","html_url":"https://github.com/yannayl","followers_url":"https://api.github.com/users/yannayl/followers","following_url":"https://api.github.com/users/yannayl/following{/other_user}","gists_url":"https://api.github.com/users/yannayl/gists{/gist_id}","starred_url":"https://api.github.com/users/yannayl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yannayl/subscriptions","organizations_url":"https://api.github.com/users/yannayl/orgs","repos_url":"https://api.github.com/users/yannayl/repos","events_url":"https://api.github.com/users/yannayl/events{/privacy}","received_events_url":"https://api.github.com/users/yannayl/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-12-14T21:32:28Z","updated_at":"2017-12-14T22:37:23Z","closed_at":"2017-12-14T22:37:23Z","author_association":"NONE","body":"Trying to compile this .ksy file:\r\n```ksy\r\nmeta:\r\n  id: floats\r\n  endian: le\r\ninstances:\r\n  - id: num_floats\r\n    type: u4\r\n  - id: floats\r\n    type: f8\r\n    repeat: expr\r\n    repeat-expr: num_floats\r\n```\r\nyields the following error:\r\n```\r\n/instances: expected map, got List(Map(id -> num_floats, type -> u4), Map(id -> floats, type -> f8, repeat -> expr, repeat-expr -> num_floats)) (class scala.collection.immutable.$colon$colon)\r\n```\r\n\r\nThis file is a copy-paste from the examples replacing a `seq` with `instances`.\r\n\r\nI'm not sure if it is related to issue #70 or not."}}
{"actor":{"display_login":"GreyCat"}}