compiler: added warning for inconsistent slot tests.