# Is it a bug or I am doing something wrong?

**URL:** https://discourse.julialang.org/t/is-it-a-bug-or-i-am-doing-something-wrong/119105
**Category:** New to Julia
**Tags:** question, bug
**Created:** [September 6, 2024, 7:57am UTC](https://discourse.julialang.org/t/is-it-a-bug-or-i-am-doing-something-wrong/119105 "2024-09-06T07:57:43Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![StevenWhitaker](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stevenwhitaker/32/9749_2.png) [@StevenWhitaker](https://discourse.julialang.org/u/StevenWhitaker)
#### Post date: [September 6, 2024, 4:45pm UTC](https://discourse.julialang.org/t/is-it-a-bug-or-i-am-doing-something-wrong/119105/6 "2024-09-06T16:45:13Z")

</div>

For those wanting (one way) to replicate the OP’s results:

```julia-repl
julia> x + y = parse(Int, string(x, y))
+ (generic function with 1 method)

julia> typemax(Int16)
32767

julia> typemax(Int16) + 1
327671

```

😉  
(See this response and the post in general for more fun details: [A most harrowing collection of Julia WATs - #10 by Philogicatician](https://discourse.julialang.org/t/a-most-harrowing-collection-of-julia-wats/77323/10))

---

_[View the full topic](https://discourse.julialang.org/t/is-it-a-bug-or-i-am-doing-something-wrong/119105)._
