#305 Fix for target-getter-only in combination with expressions or constants