# Unexpected behavior of #==#

**URL:** https://discourse.julialang.org/t/unexpected-behavior-of/2891
**Category:** General Usage
**Created:** [March 27, 2017, 12:04am UTC](https://discourse.julialang.org/t/unexpected-behavior-of/2891 "2017-03-27T00:04:18Z")
**Posts on this page:** 1
**Showing post:** 9

<div class="post-metadata">

### Author: ![Per](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/per/32/10387_2.png) [@Per](https://discourse.julialang.org/u/Per)
#### Post date: [March 27, 2017, 8:37am UTC](https://discourse.julialang.org/t/unexpected-behavior-of/2891/9 "2017-03-27T08:37:44Z")

</div>

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
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

```

---

_[View the full topic](https://discourse.julialang.org/t/unexpected-behavior-of/2891)._
