[K2] Add new resolve phase CONSTANT_EVALUATION
During this phase, the compiler will evaluate initializers of const properties and defaults of annotation's constructor. Evaluation results will be stored in corresponding attributes. #KT-64151
This commit is contained in:
@@ -178,6 +178,11 @@ enum class FirResolvePhase(val noProcessor: Boolean = false) {
|
||||
*/
|
||||
IMPLICIT_TYPES_BODY_RESOLVE,
|
||||
|
||||
/**
|
||||
* The compiler evaluates expressions that are used as initializers for const properties and defaults of annotation's constructor.
|
||||
*/
|
||||
CONSTANT_EVALUATION,
|
||||
|
||||
/**
|
||||
* The compiler resolves arguments of annotations in declaration headers.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user