Hi, I’ve got quite some `Warning:(123, 4) Redundan...
# getting-started
j
Hi, I’ve got quite some
Warning:(123, 4) Redundant 'Unit' return type
and
Warning:(177, 9) Redundant 'suspend' modifier
warnings in my code base (I like to be explicit with the return type and sometimes I add the suspend keyword, for instance when I know that I will need it in a future iteration (but just not yet on the dummy impl)). Is there a way to turn these warnings off for a project. For instance with a compiler flag? Or with some Gradle magic?
j
Thanks for the pointer. Maybe in another 8 years it’ll actually be possible. 🤷‍♂️
u
allegedly will arrive on k2.1.0 via
-Xsuppress-warning=WARNING_NAME
👍 1