set_timeout gives ugly stack traces in unit tests

Bug #864406 reported by Matt Jones
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
D IO Helper
Fix Released
High
Unassigned

Bug Description

This gives an ugly stack trace and crashes the test runner:

unittest {
    describe("thing",
        it("crash test suite", function() {
            set_timeout(function() {
                assert(false);
            }, 0.0f);
        })
    );
}

Matt Jones (workhorsy)
Changed in diohelper:
importance: Undecided → High
milestone: none → 0.1
status: New → Confirmed
Revision history for this message
Matt Jones (workhorsy) wrote :
Changed in diohelper:
status: Confirmed → Fix Committed
Matt Jones (workhorsy)
Changed in diohelper:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.