[dmd-internals] AutoTester breaking

kenji hara k.hara.pg at gmail.com
Tue Nov 8 07:54:06 PST 2011


Now, there are three issues.

- std.traits breaking in Windows
> std\traits.d(377): Error: static assert  (0u == cast(FunctionAttribute)3u) is false

I have already posted a dmd patch to fix it.
> https://github.com/D-Programming-Language/dmd/pull/498
> https://github.com/D-Programming-Language/phobos/pull/322

- std.regex breaking in FreeBSD32 and OSX 32
FreeBSD 32
> core.exception.AssertError at std.regex(2900): Assertion failure

OSX 32
> core.exception.AssertError at std/regex.d(7134): bmatch(R,RegEx) if (is(RegEx == Regex!(BasicElementOf!(R)))): failed to match pattern #205: \b\w+\b
> ----------------
> 5   regex                               0x00196baa _d_assert_msg + 26
> 6   regex                               0x00118536 void std.regex.__unittest7().void __T9run_testsS173std5regex6bmatchZ.run_tests() + 82354
> 7   regex                               0x000943b1 void std.regex.__unittest7() + 13
> 8   regex                               0x0009038d void std.regex.__modtest() + 21
> 9   regex                               0x0018dda5 extern (C) bool core.runtime.runModuleUnitTests().int __foreachbody265(ref object.ModuleInfo*) + 45
> 10  regex                               0x00188b0b int object.ModuleInfo.opApply(scope int delegate(ref object.ModuleInfo*)) + 79
> 11  regex                               0x0018dc96 runModuleUnitTests + 134
> 12  regex                               0x00197323 extern (C) int rt.dmain2.main(int, char**).void runAll() + 43
> 13  regex                               0x00196e95 extern (C) int rt.dmain2.main(int, char**).void tryExec(scope void delegate()) + 29
> 14  regex                               0x00196e2f main + 179
> 15  regex                               0x00090365 start + 53
> 16  ???                                 0x00000001 0x0 + 1

Kenji Hara


More information about the dmd-internals mailing list