Refactoring of CompileTimeConstant, introduce flag to represent a constant being referenced by a variable
Intention to simplify boolean expressions that have expressions in them that can be simplified to constants
Merge pull request #392 from wutalman/simplify_booleans

KT-4569: Intention to simplify boolean expressions with constants #KT-4569 Fixed