Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation error in 0.7.0/master with Crystal 0.24.1 #72

Closed
develop7 opened this issue Jan 7, 2018 · 2 comments
Closed

Compilation error in 0.7.0/master with Crystal 0.24.1 #72

develop7 opened this issue Jan 7, 2018 · 2 comments

Comments

@develop7
Copy link

develop7 commented Jan 7, 2018

Repro: run make

Expected: compilation succeeds
Instead: compilation fails on

macro def self.version_string : String

with following error:

develop7@t-rex ~/s/prax.cr (master)>  make
mkdir -p bin
/home/develop7/.linuxbrew/bin/crystal build /home/develop7/src/prax.cr/src/prax.cr -o bin/prax-binary
Syntax error in src/prax.cr:18: unexpected token: self (parentheses are mandatory for macro arguments)

  macro def self.version_string : String
            ^

make: *** [Makefile:25: all] Error 1
@ysbaddaden
Copy link
Owner

Oh, fixed in 8770275 !

@develop7
Copy link
Author

develop7 commented Jan 8, 2018

That fixes it, thanks!

@develop7 develop7 closed this as completed Jan 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants