Android Lint: Fix constant evaluation in annotation parameter
#KT-17785 Fixed Target Versions 1.1.5
This commit is contained in:
+1
-1
@@ -862,7 +862,7 @@ public class ConstantEvaluator {
|
||||
}
|
||||
}
|
||||
return operandValue;
|
||||
} else if (node instanceof UReferenceExpression) {
|
||||
} else if (mContext != null && node instanceof UReferenceExpression) {
|
||||
PsiElement resolved = ((UReferenceExpression) node).resolve();
|
||||
if (resolved instanceof PsiVariable) {
|
||||
PsiVariable variable = (PsiVariable) resolved;
|
||||
|
||||
Reference in New Issue
Block a user