test erlang 21#104
Conversation
|
@paulo-ferraz-oliveira @Vagabond And in hex.pm, the poolboy has 856403 downloads, it needs a new tag and push to hex.pm. |
|
Just wanted to say I like your stacktrace macros very much! |
|
@getong: it does work with OTP 21 :D I've already deployed it to live systems with no issues. It was created for OTP 21 compatibility. On the other hand, even if you don't consider it a good alternative (some might) it was recently merged into elli: elli-lib/elli#61 (though I later figured out that it wasn't necessary, so removed it). I also like your approach (though it involves macros and changing code+), I'm just saying that there's no better approach in this case. +imagine you have a huge project with 20/30 try catch statements, while stacktrace_compat might use parse_transforms but it requires no change to existing code. |
|
@paulo-ferraz-oliveira |
It does work ;-). Test cases are passed and coverage is full. What's broken is the rebar3 version that's bundled with Travis, as mentioned in this issue. I've solved it by always downloading the latest rebar3 when running tests under Travis. As for it being complex, well there's not much of a counterargument I can offer - parse transforms are complex almost by definition, as they manipulate code in the abstract format. But I wouldn't expect it to be particularly hard to maintain; there isn't anything else to be done on features at this point. |
|
@Vagabond |
|
Alright I merged this and fixed the dialyzer specs. |
|
I tagged 1.5.2 but I can't push to hex. @devinus can you grant me access? |
No description provided.