[Refactoring] checkPurity, checkSafety, and checkNogc
[Refactoring] Add Id::gate for more lightweight string comparison
[Refactoring] Add FuncDeclaration::isPureBypassingInferenceX()
fix Issue 6359 - Pure/@safe-inference should not be affected by __traits(compiles)
Merge pull request #3625 from 9rnsr/fix6359

Issue 6359 - Pure/@safe-inference should not be affected by __traits(compiles)