Closed myronmarston closed 8 years ago
@myronmarston thank you. I have decided to update the changelog to mention it because such syntax was never officially supported and it gets in the way of some features we have implemented on v1.3 (like defdelegate with default args).
Environment
Ubuntu 12.04.5 LTS (on travis)
Current behavior
I wanted to give Elixir 1.3.0-rc.0 a try and updated the
.travis.yml
in our main application to see if it could build OK on the new version. The build failed while trying to compile timex 0.19.2:It looks like this line is the culprit:
Expected behavior
I expected our project to compile OK given it compiled OK on Elixir 1.2.5 and I didn't think 1.3.0-rc.0 was meant to have any breaking changes. It also looks like maybe Timex was doing something that was never supported (but didn't fail, either). Should this compile error be a warning instead? If the new compiler error is intentional it would be nice if it was called out in the changelog. The one mention of
defdelegate
in the changelog doesn't sounds different from this compile error:Regardless, it looks like newer versions of timex do not have this problem so I'll work on upgrading our project to timex 2.