{"action":"created","issue":{"url":"https://api.github.com/repos/bmx-ng/bcc/issues/230","repository_url":"https://api.github.com/repos/bmx-ng/bcc","labels_url":"https://api.github.com/repos/bmx-ng/bcc/issues/230/labels{/name}","comments_url":"https://api.github.com/repos/bmx-ng/bcc/issues/230/comments","events_url":"https://api.github.com/repos/bmx-ng/bcc/issues/230/events","html_url":"https://github.com/bmx-ng/bcc/issues/230","id":189248226,"number":230,"title":"Metadata ignored in certain situations","user":{"login":"GWRon","id":2625226,"avatar_url":"https://avatars.githubusercontent.com/u/2625226?v=3","gravatar_id":"","url":"https://api.github.com/users/GWRon","html_url":"https://github.com/GWRon","followers_url":"https://api.github.com/users/GWRon/followers","following_url":"https://api.github.com/users/GWRon/following{/other_user}","gists_url":"https://api.github.com/users/GWRon/gists{/gist_id}","starred_url":"https://api.github.com/users/GWRon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GWRon/subscriptions","organizations_url":"https://api.github.com/users/GWRon/orgs","repos_url":"https://api.github.com/users/GWRon/repos","events_url":"https://api.github.com/users/GWRon/events{/privacy}","received_events_url":"https://api.github.com/users/GWRon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-11-14T22:45:53Z","updated_at":"2016-11-15T00:03:16Z","closed_at":null,"body":"I am still trying to create a short example but am still failing.\r\n\r\nIn my game I use Brucey's Persistence.mod but am skipping all \"Fields\" containing `{nosave}`-Meta-Data.\r\n\r\nWhile this works with vanilla, it fails for some objects when compiled with NG. So for some types it correctly finds that metadata, but for other ones it does not find them.\r\n\r\nIf you have access to it: Download the TVTower sources, build a 64bit variant and save a game via \"s\". It saves function references stored in the field \"_onRunMatch\" - which has the meta-data `{nosave}`.\r\n\r\n\r\nI guess it has something to do how things get imported (a imports b, b imports c ...) and maybe how they are stored (field defined with \"base\" but assigned is an \"extended\" instance)  "},"comment":{"url":"https://api.github.com/repos/bmx-ng/bcc/issues/comments/260504310","html_url":"https://github.com/bmx-ng/bcc/issues/230#issuecomment-260504310","issue_url":"https://api.github.com/repos/bmx-ng/bcc/issues/230","id":260504310,"user":{"login":"woollybah","id":95883,"avatar_url":"https://avatars.githubusercontent.com/u/95883?v=3","gravatar_id":"","url":"https://api.github.com/users/woollybah","html_url":"https://github.com/woollybah","followers_url":"https://api.github.com/users/woollybah/followers","following_url":"https://api.github.com/users/woollybah/following{/other_user}","gists_url":"https://api.github.com/users/woollybah/gists{/gist_id}","starred_url":"https://api.github.com/users/woollybah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/woollybah/subscriptions","organizations_url":"https://api.github.com/users/woollybah/orgs","repos_url":"https://api.github.com/users/woollybah/repos","events_url":"https://api.github.com/users/woollybah/events{/privacy}","received_events_url":"https://api.github.com/users/woollybah/received_events","type":"User","site_admin":false},"created_at":"2016-11-15T00:03:16Z","updated_at":"2016-11-15T00:03:16Z","body":"The following example runs the same for NG and legacy...\r\n\r\napp.bmx\r\n```blitzmax\r\nSuperStrict\r\n\r\nFramework brl.standardio\r\nImport brl.reflection\r\n\r\nImport \"meta_1.bmx\"\r\n\r\nLocal r:TRoundedBox = New TRoundedBox\r\n\r\nLocal t:TTypeId = TTypeId.ForObject(r)\r\n\r\nWhile t\r\n\r\nPrint \"*\" + t.Name()\r\n\r\n\r\nFor Local f:TField = EachIn t.Fields()\r\n\r\n\tPrint f.name() + \" : \" + f.MetaData()\r\n\r\nNext\r\n\r\n\tt = t.SuperType()\r\n\r\nWend\r\n```\r\nmeta_1.bmx\r\n```blitzmax\r\nSuperStrict\r\n\r\nImport \"meta_2.bmx\"\r\n\r\nType TRoundedBox Extends TBox\r\n\r\n\tField corner:Int {nosave}\r\n\r\nEnd Type\r\n```\r\nmeta_2.bmx\r\n```blitzmax\r\nSuperStrict\r\n\r\n\r\nType TBox\r\n\r\n\tField x:Int { nosave }\r\n\tField y:Int { nosave }\r\n\tField w:Int { nosave }\r\n\tField h:Int { nosave }\r\n\r\nEnd Type\r\n```\r\n"}}
{"actor":{"display_login":"woollybah"}}