Created
January 15, 2015 19:47
-
-
Save kaeff/31a9b5b8e7f5945ace8c to your computer and use it in GitHub Desktop.
Mean time to segfault
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ ~ crystal eval '3.times { |n| puts n}' | |
0 | |
1 | |
2 | |
➜ ~ crystal eval '2..3.times { |n| puts n}' | |
0 | |
1 | |
2 | |
➜ ~ crystal eval '2...times { |n| puts n}' | |
/usr/local/bin/crystal: line 6: 80376 Segmentation fault: 11 "$INSTALL_DIR/embedded/bin/crystal" "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment