Chaining a static class type and a dynamic method call should error out.
Fixes #40