This one’s also interesting: Let’s say I want t
to be true
if a<=b
and b==3
, but I make a typo.
julia> versioninfo()
Julia Version 0.6.0-pre.alpha.263
Commit 55f44179b9 (2017-03-27 00:01 UTC)
Platform Info:
OS: macOS (x86_64-apple-darwin13.4.0)
CPU: Intel(R) Core(TM) i5-4690K CPU @ 3.50GHz
WORD_SIZE: 64
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
LAPACK: libopenblas64_
LIBM: libopenlibm
LLVM: libLLVM-3.9.1 (ORCJIT, haswell)
julia> t = (a <= b = 3)
3
julia> 1<=2
signal (11): Segmentation fault: 11
while loading no file, in expression starting on line 0
unknown function (ip: 0x31b7f2e83)
Allocations: 2846087 (Pool: 2844545; Big: 1542); GC: 3
Segmentation fault: 11