This is fairly specialized scenario so I’d go with a specialized solution. How about this: do your build in a build.sh, compile without warnings as errors however in the script inspect stderr and fail on a "warning: " unless that warning is for a deprecation. Hopefully fairly straightforward regexps would suffice (now you have N+1 problems nonwithstanding). Less complexity in the toolchain, less churn for maintainers (as they’d have to use the suggested :as annotation), and more control to you, make the script as simple or as complicated as you need it to be. Wiadomość napisana przez Kip <kipco...@gmail.com> w dniu 21.11.2023, o godz. 00:45: -- You received this message because you are subscribed to the Google Groups "elixir-lang-core" group. To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-core+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/FC0D4FCD-7413-4C63-B193-36DE1DC6B4B1%40wojtekmach.pl. |
- [elixir-core:11597] [Proposal] `as: level` for deprecrated a... Bryan Paxton
- [elixir-core:11598] Re: [Proposal] `as: level` for depre... Kip
- [elixir-core:11599] Re: [Proposal] `as: level` for d... Bryan Paxton
- Re: [elixir-core:11599] Re: [Proposal] `as: level` f... Wojtek Mach