Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invalid failure message #17

Open
gedaiu opened this issue Nov 8, 2016 · 2 comments
Open

invalid failure message #17

gedaiu opened this issue Nov 8, 2016 · 2 comments

Comments

@gedaiu
Copy link

gedaiu commented Nov 8, 2016

Awesome job on this library! anyway... I tried it today and instead of a nice error I get this one:

std.conv.ConvOverflowException@/Library/D/dmd/src/phobos/std/conv.d(1328): Conversion positive overflow
----------------
4   alttap-webapi                       0x000000010d5dae4c pure @safe bool std.conv.toImpl!(bool, int).toImpl(int) + 168
5   alttap-webapi                       0x000000010d5dad9e pure @safe bool std.conv.to!(bool).to!(int).to(int) + 18
6   alttap-webapi                       0x000000010d5dad19 pure @safe bool pyjamas.Assertion!(bool).Assertion.equal!(int).equal(int, immutable(char)[], ulong) + 109
7   alttap-webapi                       0x000000010d5c612f void altap.hardware.alttapmotors.__unittestL189_3() + 1051
8   alttap-webapi                       0x000000010d5c4172 void altap.hardware.alttapmotors.__modtest() + 18
9   alttap-webapi                       0x000000010d7e5500 int core.runtime.runModuleUnitTests().__foreachbody2(object.ModuleInfo*) + 44
10  alttap-webapi                       0x000000010d7dde0e int object.ModuleInfo.opApply(scope int delegate(object.ModuleInfo*)).__lambda2(immutable(object.ModuleInfo*)) + 34
11  alttap-webapi                       0x000000010d7ff8b1 int rt.minfo.moduleinfos_apply(scope int delegate(immutable(object.ModuleInfo*))).__foreachbody2(ref rt.sections_osx.SectionGroup) + 85
12  alttap-webapi                       0x000000010d7ff83c int rt.minfo.moduleinfos_apply(scope int delegate(immutable(object.ModuleInfo*))) + 32
13  alttap-webapi                       0x000000010d7ddde5 int object.ModuleInfo.opApply(scope int delegate(object.ModuleInfo*)) + 33
14  alttap-webapi                       0x000000010d7e53ea runModuleUnitTests + 126
15  alttap-webapi                       0x000000010d7f8f2a void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).runAll() + 22
16  alttap-webapi                       0x000000010d7f8ecf void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).tryExec(scope void delegate()) + 35
17  alttap-webapi                       0x000000010d7f8e35 _d_run_main + 497
18  alttap-webapi                       0x000000010d5c50b1 main + 33
19  libdyld.dylib                       0x000000010e8c3254 start + 0
20  ???                                 0x0000000000000000 0x0 + 0

✗ dmd --version
DMD64 D Compiler v2.071.2
Copyright (c) 1999-2015 by Digital Mars written by Walter Bright
@yamadapc
Copy link
Owner

yamadapc commented Nov 8, 2016

I'll bet things changed quite a bit from then to now in D

Could you the code you used to break it? Or is it just the demos that don't work?

@gedaiu
Copy link
Author

gedaiu commented Nov 8, 2016

I just pasted the demo inside some unittest tags... I think that tomorrow I can investigate this issue in more details

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants