Skip to content

Instantly share code, notes, and snippets.

@fernandes
Created March 28, 2017 10:59
Show Gist options
  • Select an option

  • Save fernandes/88e48b335aee5ad9eae673a1cfda1b76 to your computer and use it in GitHub Desktop.

Select an option

Save fernandes/88e48b335aee5ad9eae673a1cfda1b76 to your computer and use it in GitHub Desktop.
medium snippets
xcode-select --install
brew install \
bdw-gc \
gmp \
libevent \
libpcl \
libxml2 \
libyaml \
llvm
git clone https://github.com/crystal-lang/crystal.git
cd crystal
make
it "errors if enum value is different from default (Int32) (#194)" do
assert_error "lib LibFoo; enum Bar; X = 0x00000001_u32; end; end;
LibFoo::Bar::X",
"enum value must be an Int32"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment