[BUGFIX] DI fails with CompilerDefinition; solves #5738 - Test - assertions on false added