{"issue":{"created_at":"2011-12-09T08:02:36Z","state":"open","updated_at":"2011-12-09T12:39:48Z","comments":4,"user":{"gravatar_id":"6b80b27e0030320efddd03358546176a","id":360179,"url":"https://api.github.com/users/AndrejMitrovic","avatar_url":"https://secure.gravatar.com/avatar/6b80b27e0030320efddd03358546176a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"AndrejMitrovic"},"body":"2.054:\r\n\r\n    dmd dsplit.d dustmite.d\r\n    dustmite.d(257): template argument expected following !\r\n\r\nAfter I fix that I get:\r\n\r\n    dmd dsplit.d dustmite.d\r\n    Assertion failure: '!vthis->csym' on line 719 in file 'glue.c'\r\n    abnormal program termination\r\n\r\n2.055:\r\n\r\n    dmd dsplit.d dustmite.d\r\n    Assertion failure: '!vthis->csym' on line 713 in file 'glue.c'\r\n    abnormal program termination\r\n\r\n2.056\r\n\r\n    dmd dsplit.d dustmite.d\r\n    Notice: As of Phobos 2.055, std.regexp has been deprecated. It will\r\n     be removed in February 2012. Please use std.regex instead.\r\n    Assertion failure: '!vthis->csym' on line 713 in file 'glue.c'\r\n\r\n2.057 (beta):\r\n\r\n    dmd dsplit.d dustmite.d\r\n    Notice: As of Phobos 2.055, std.regexp has been deprecated. It will\r\n     be removed in February 2012. Please use std.regex instead.\r\n    D:\\DMD\\dmd2\\windows\\bin\\..\\..\\src\\phobos\\std\\file.d(3710): Error: f\r\n    unction std.file.isDir is deprecated\r\n\r\nThe phobos bug was recently fixed in https://github.com/D-Programming-Language/phobos/commit/7774df3203411af058553795e19a22137f4247a4 , however even with -d workaround:\r\n\r\n    dmd -d dsplit.d dustmite.d\r\n    Notice: As of Phobos 2.055, std.regexp has been deprecated. It will be removed in February\r\n     2012. Please use std.regex instead.\r\n    _error_ 009F3C1C\r\n    ty = 35\r\n    Assertion failure: '0' on line 145 in file 'mtype.c'\r\n","assignee":null,"id":2499261,"labels":[],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":5,"title":"Win32: Failed compilation on 2.054, 2.055, 2.056, 2.057","closed_at":null,"html_url":"https://github.com/CyberShadow/DustMite/issues/5","url":"https://api.github.com/repos/CyberShadow/DustMite/issues/5","milestone":null},"action":"created","comment":{"created_at":"2011-12-09T12:39:48Z","updated_at":"2011-12-09T12:39:48Z","user":{"gravatar_id":"6b80b27e0030320efddd03358546176a","id":360179,"url":"https://api.github.com/users/AndrejMitrovic","avatar_url":"https://secure.gravatar.com/avatar/6b80b27e0030320efddd03358546176a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"AndrejMitrovic"},"body":"Wow this is sweet, it's done:\r\n\r\ndsplit.d:\r\n\r\n    import std.string;\r\n    struct Entity\r\n    {\r\n        string head;\r\n    }\r\n\r\ndustmite.d:\r\n\r\n    import std.algorithm;\r\n    import std.regex;\r\n    import dsplit;\r\n\r\n    void applyNoRemoveMagic()\r\n    {\r\n        enum MAGIC_START = \"DustMiteNoRemoveStart\";\r\n    }\r\n\r\n    void applyNoRemoveRegex(string[] noRemoveStr)\r\n    {\r\n        auto noRemove = map!regex(noRemoveStr);\r\n\r\n        bool scan(Entity[] set)\r\n        {\r\n            bool found = false;\r\n            foreach (ref e; set)\r\n                if (canFind!((a){return !match(e.head, a).empty;})(noRemove))\r\n                {\r\n                }\r\n            return found;\r\n        }\r\n\r\n    }\r\n\r\nI guess I should file this to bugzilla.","id":3078495,"url":"https://api.github.com/repos/CyberShadow/DustMite/issues/comments/3078495"}}