Steps to repdrocue
Surround a warden with 1-block wide water trough.
Stand on the other side of the water just out of its attack range.
Hit it repeatedly.
Expected result
The warden cannot be killed in such a safe, easy way.
Observed result
The warden can be cheesed.
Analysis
This cheese method depends on two attributes
The warden's mele attack reach is shorter than the player's.
The warden has
"avoid_water": true
in"minecraft:navigation.walk"
relates to MCPE-153582 (I would even say a duplicate, but it seemed to me that he finds his way through the water...)