Closed timholy closed 9 years ago
Weird...
julia> include("test/runtests.jl")
julia> test3(2.0,3,4)==test3(2.0,3,4)
true
julia> test3(2.0,3,4)
TestType3(2.0,3,4,"black",1.0)
julia> test3(2.0,3,4)==TestType3(2.0,3,4,"black",1.0)
false
# Just to make sure they are both of the same type
julia> typeof(test3(2.0,3,4))==typeof(TestType3(2.0,3,4,"black",1.0))
true
I made a thing called comparefields
which compares each field, and that fixes the tests https://github.com/shashi/Escher.jl/commit/e45845c9dd17ec27d5232045e3b6c5f888aa4d82.
Thanks for doing this! :)
Thanks! I'm definitely looking forward to https://github.com/JuliaLang/julia/pull/12544
How is that issue related here? Is that why FactCheck stopped showing exactly which tests failed? It could still show the expression that did if I understand correctly...
Since these functions are defined through macros, you (or at least, I) don't get good backtraces. Makes debugging harder. I still use macros a lot anyway, of course.
OK, merge away!
Awesome!
Well, sadly I did not quite figure out how to get this to work:
You can trigger it with
test3(2.0, 3, 4)
. Any ideas?Once this is working, you still shouldn't merge until "C-day" (hopefully Tuesday or Wednesday, if we resolve the problems in time).