Skip to content

Instantly share code, notes, and snippets.

@hugoabonizio
Last active November 10, 2017 12:06
Show Gist options
  • Save hugoabonizio/82bb6ca249f15de03a21ce8d9deeb924 to your computer and use it in GitHub Desktop.
Save hugoabonizio/82bb6ca249f15de03a21ce8d9deeb924 to your computer and use it in GitHub Desktop.
This program breaks Crystal compiler
a = {1, 0}
b = {a, a}
c = {b, b}
d = {c, c}
e = {d, d}
f = {e, e}
g = {f, f}
h = {g, g}
i = {h, h}
j = {i, i}
k = {j, j}
l = {k, k}
m = {l, l}
n = {m, m}
o = {n, n}
p = {o, o}
q = {p, p}
puts q
@hugoabonizio
Copy link
Author

hugoabonizio commented Nov 10, 2017

@veelenga this wasn't intentional, I fixed it now! Thanks!

@JonnyCodewalker thank you for the explanation 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment