Revert "Workaround Issue 11497 - lambda in "static if"/"assert" prevent inlining of function"

This reverts commit 8f10b877ead5e82e5c9a05fc2ed361ab6b08a398.

Itroduced by pull #1688. Because 11497 is now fixed.
Merge pull request #1714 from monarchdodra/revert11497

Revert "Workaround Issue 11497 - lambda in "static if"/"assert" prevent ...
fix property enforcement
Merge pull request #1718 from 9rnsr/enforceProp

fix property enforcement
Result of __traits(parent) may not have a type
Merge pull request #1719 from yebblies/typeofmodule

Result of __traits(parent) may not have a type
Fix and test for JSONValue(true), JSONValue(false)
Merge pull request #1720 from shoo/fix_json

Fix and test for JSONValue(true), JSONValue(false)