Cannot pass a primitive value to a macro #176

Closed
bilts opened this Issue Mar 27, 2012 · 1 comment

Comments

Projects
None yet
2 participants

bilts commented Mar 27, 2012

I'm trying to create a macro to declare an attribute with a getter and a default value. The macro works fine for Strings and other Instances of Object but not for int and boolean. Looking through the examples, the square_int.mirah macro example doesn't compile, producing the same error "Cannot find instance method sqrt(int) on macros.square_int"

Owner

baroquebobcat commented Feb 18, 2013

I just tried running the example on master and it works. I'm closing this bug, if it's still a problem, please file a new one or reopen it.

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