Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Emit warning when variable is being expanded to function call #3517
referenced this pull request
May 15, 2016
6 times, most recently
Jun 8, 2016
Jun 11, 2016
1 check passed
When compiling a project using the
schema "my_schema" do field :my_field, :string timestamps() end
which I think does not look very DSL like.
I did not look at the implementation details yet, but do you think it would be possible and worth to handle such a case?
I understand you point, and the point of this warning,
html do body do h1 "foobar" br() end end
Having to make an explicit function call here kind of looses the beauty of the DSL in my opinion.