Opened 15 years ago

Closed 15 years ago

#504 closed request (fixed)

remove default value for second argument 'msg' in yat_assert

Reported by: Peter Owned by: Peter
Priority: minor Milestone: yat 0.6
Component: utility Version: trunk
Keywords: Cc:

Description

yat_assert is marked internal so it should be OK to change the interface.

The reason to remove it is that it evil when yat_assert is called with empty msg, because it results in a thrown exception that is tricky to trace.

Change History (4)

comment:1 Changed 15 years ago by Peter

Status: newassigned

comment:2 Changed 15 years ago by Peter

Resolution: fixed
Status: assignedclosed

(In [1875]) fixes #504. Also added pp macro YAT_ASSERT that calls yat_assert with an appropriate msg

comment:3 Changed 15 years ago by Peter

Resolution: fixed
Status: closedreopened

Head is not compiling because the wc I checked in from was not updated. Will fix asap.

comment:4 Changed 15 years ago by Peter

Resolution: fixed
Status: reopenedclosed

(In [1876]) fixes #504

Note: See TracTickets for help on using tickets.