is there a way to disable the warning, that inlini...
# announcements
t
is there a way to disable the warning, that inlining some function will have a negligible impact on the performacne? I'm using it sometimes because i want the code RIGHT THERE or because the function is empty and don't do it for performance
example for the first: insert
js("debugger;)
in
common
code and example for the latter the impementation of a
sunchronized
method, that is empty on js
k
In general you can
Alt+Enter
on warnings and InteliJ will suggest the way to disable them, for inlining that appears to be
@Suppress("NOTHING_TO_INLINE")
.
t
yep that's what i normally do - but intellij didn't offer me the correct solution this time.
NOTHING_TO_INLINE
seems to work - thank you! 🙂