horde-ad icon indicating copy to clipboard operation
horde-ad copied to clipboard

Make assertEqualUpToEpsilon show the correct line number

Open Mikolaj opened this issue 1 year ago • 0 comments

Right now, most of the time, it shows the line it's defined at instead of the one it's called at, where the mistake is made.

HasCallStack is already added wherever possible, so we need to catch and re-throw exceptions or find a way to add HasCallStack to the typeclass (apparently forbidden).

Mikolaj avatar Mar 06 '23 18:03 Mikolaj