deadtrickster / prometheus.ex

Prometheus.io Elixir client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compilation fails on Elixir 1.7.0-rc.1

jfornoff opened this issue · comments

Hi,

just to let you know: prometheus_ex (currently published version on Hex) seems to fail to compile on Elixir 1.7.0-rc.1 (OTP 20).

image

Might be related to elixir-lang/elixir#7309
Would love to contribute a fix but I'm not terribly familiar with what the purpose of the Macro is in prometheus_ex :-/

looks like CALLER argument just needs to be renamed.

Seems to work just fine :-) I'll prepare a PR.