Revert "Add null constant argument type check"

This reverts commit 01697c1f78482c2ee4782823327e4737f4f261dc.
Add better diagnostics for invalid properties