{"action":"created","issue":{"url":"https://api.github.com/repos/nim-lang/rfcs/issues/74","repository_url":"https://api.github.com/repos/nim-lang/rfcs","labels_url":"https://api.github.com/repos/nim-lang/rfcs/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/nim-lang/rfcs/issues/74/comments","events_url":"https://api.github.com/repos/nim-lang/rfcs/issues/74/events","html_url":"https://github.com/nim-lang/rfcs/issues/74","id":370223535,"node_id":"MDU6SXNzdWUzNzAyMjM1MzU=","number":74,"title":"Usability:  {.experimental: “ForLoopMacros”.} is required at all macro callsites","user":{"login":"narimiran","id":16516130,"node_id":"MDQ6VXNlcjE2NTE2MTMw","avatar_url":"https://avatars2.githubusercontent.com/u/16516130?v=4","gravatar_id":"","url":"https://api.github.com/users/narimiran","html_url":"https://github.com/narimiran","followers_url":"https://api.github.com/users/narimiran/followers","following_url":"https://api.github.com/users/narimiran/following{/other_user}","gists_url":"https://api.github.com/users/narimiran/gists{/gist_id}","starred_url":"https://api.github.com/users/narimiran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/narimiran/subscriptions","organizations_url":"https://api.github.com/users/narimiran/orgs","repos_url":"https://api.github.com/users/narimiran/repos","events_url":"https://api.github.com/users/narimiran/events{/privacy}","received_events_url":"https://api.github.com/users/narimiran/received_events","type":"User","site_admin":false},"labels":[{"id":1091665951,"node_id":"MDU6TGFiZWwxMDkxNjY1OTUx","url":"https://api.github.com/repos/nim-lang/rfcs/labels/RFC","name":"RFC","color":"1d1d1d","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-15T15:40:02Z","updated_at":"2018-10-15T15:40:06Z","closed_at":null,"author_association":"COLLABORATOR","body":"<a href=\"https://github.com/coffeepots\"><img src=\"https://avatars0.githubusercontent.com/u/12612616?v=4\" align=\"left\" width=\"96\" height=\"96\" hspace=\"10\"></img></a> **Issue by [coffeepots](https://github.com/coffeepots)**\n_Friday Aug 17, 2018 at 17:15 GMT_\n_Originally opened as https://github.com/nim-lang/Nim/issues/8676_\n\n----\n\nThere has been a series of regressions in various parts of the [Nimbus](https://github.com/status-im/nimbus) toolchain starting from commit https://github.com/nim-lang/Nim/commit/d8e66d6acc461d8d280c2ec83f9326206e2f12ef\r\n\r\nThe current latest HEAD ced1c135719565c6675091673c598390805449c7 is producing a regression for the [stint](https://github.com/status-im/nim-stint) library in `all_tests.nim`:\r\n\r\n```\r\n\\stint\\stint.nim(26, 10) template/generic instantiation from here\r\n\\stint\\stint.nim(23, 10) template/generic instantiation from here\r\n\\stint\\stint\\io.nim(186, 8) template/generic instantiation from here\r\n\\stint\\stint\\io.nim(138, 31) template/generic instantiation from here\r\n\\stint\\stint\\uint_public.nim(24, 23) template/generic instantiation from here\r\n\\stint\\stint\\private\\uint_addsub.nim(27, 10) template/generic instantiation from here\r\n\\stint\\stint\\private\\uint_addsub.nim(22, 17) template/generic instantiation from here\r\n\\stint\\stint\\private\\uint_comparison.nim(23, 24) Error: type mismatch: got <UintImpl[system.uint64], UintImpl[system.uint64]>\r\nbut expected one of:\r\nmacro asWords(x: ForLoopStmt): untyped\r\n  first type mismatch at position: 1\r\n  required type: ForLoopStmt\r\n  but expression 'x' is of type: UintImpl[system.uint64]\r\n\r\nexpression: asWords(x, y)\r\n```\r\nIt's tricky to know exactly what has caused this issue, because between d8e66d6acc461d8d280c2ec83f9326206e2f12ef and ced1c135719565c6675091673c598390805449c7 there are different errors such as this in [chronicles](https://github.com/status-im/nim-chronicles):\r\n```\r\n\\.nimble\\pkgs\\chronicles-0.2.1\\chronicles\\options.nim(106, 18) Error: 'typedesc' metatype is not valid here; typed '=' instead of ':'?\r\n```\r\nThe last successful build using `stint` was Aug 14 2018 (`stint` was last modified 10 Aug 2018), after which we start getting the above issues.\r\nCurrently the build issue has settled on the `type mismatch` for `asWords` in `stint` at the latest HEAD.\n"},"comment":{"url":"https://api.github.com/repos/nim-lang/rfcs/issues/comments/429905409","html_url":"https://github.com/nim-lang/rfcs/issues/74#issuecomment-429905409","issue_url":"https://api.github.com/repos/nim-lang/rfcs/issues/74","id":429905409,"node_id":"MDEyOklzc3VlQ29tbWVudDQyOTkwNTQwOQ==","user":{"login":"narimiran","id":16516130,"node_id":"MDQ6VXNlcjE2NTE2MTMw","avatar_url":"https://avatars2.githubusercontent.com/u/16516130?v=4","gravatar_id":"","url":"https://api.github.com/users/narimiran","html_url":"https://github.com/narimiran","followers_url":"https://api.github.com/users/narimiran/followers","following_url":"https://api.github.com/users/narimiran/following{/other_user}","gists_url":"https://api.github.com/users/narimiran/gists{/gist_id}","starred_url":"https://api.github.com/users/narimiran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/narimiran/subscriptions","organizations_url":"https://api.github.com/users/narimiran/orgs","repos_url":"https://api.github.com/users/narimiran/repos","events_url":"https://api.github.com/users/narimiran/events{/privacy}","received_events_url":"https://api.github.com/users/narimiran/received_events","type":"User","site_admin":false},"created_at":"2018-10-15T15:40:06Z","updated_at":"2018-10-15T15:40:06Z","author_association":"COLLABORATOR","body":"<a href=\"https://github.com/coffeepots\"><img src=\"https://avatars0.githubusercontent.com/u/12612616?v=4\" align=\"left\" width=\"48\" height=\"48\" hspace=\"10\"></img></a> **Comment by [coffeepots](https://github.com/coffeepots)**\n_Friday Aug 17, 2018 at 17:32 GMT_\n\n----\n\nCheers @mratsim!\n"}}
{"actor":{"display_login":"narimiran"}}