Minor: Capitalize word "Kotlin" in error messages
This commit is contained in:
+3
-3
@@ -87,7 +87,7 @@ object KotlinEvaluationBuilder : EvaluatorBuilder {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (position.line < 0) {
|
if (position.line < 0) {
|
||||||
evaluationException("Couldn't evaluate kotlin expression at $position")
|
evaluationException("Couldn't evaluate Kotlin expression at $position")
|
||||||
}
|
}
|
||||||
|
|
||||||
val file = position.file
|
val file = position.file
|
||||||
@@ -95,7 +95,7 @@ object KotlinEvaluationBuilder : EvaluatorBuilder {
|
|||||||
val document = PsiDocumentManager.getInstance(file.project).getDocument(file)
|
val document = PsiDocumentManager.getInstance(file.project).getDocument(file)
|
||||||
if (document == null || document.lineCount < position.line) {
|
if (document == null || document.lineCount < position.line) {
|
||||||
evaluationException(
|
evaluationException(
|
||||||
"Couldn't evaluate kotlin expression: breakpoint is placed outside the file. " +
|
"Couldn't evaluate Kotlin expression: breakpoint is placed outside the file. " +
|
||||||
"It may happen when you've changed source file after starting a debug process."
|
"It may happen when you've changed source file after starting a debug process."
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
@@ -112,7 +112,7 @@ object KotlinEvaluationBuilder : EvaluatorBuilder {
|
|||||||
"Trying to evaluate ${codeFragment::class.java} with context ${codeFragment.context?.javaClass}",
|
"Trying to evaluate ${codeFragment::class.java} with context ${codeFragment.context?.javaClass}",
|
||||||
mergeAttachments(*attachments)
|
mergeAttachments(*attachments)
|
||||||
)
|
)
|
||||||
evaluationException("Couldn't evaluate kotlin expression in this context")
|
evaluationException("Couldn't evaluate Kotlin expression in this context")
|
||||||
}
|
}
|
||||||
|
|
||||||
return ExpressionEvaluatorImpl(KotlinEvaluator(codeFragment, position))
|
return ExpressionEvaluatorImpl(KotlinEvaluator(codeFragment, position))
|
||||||
|
|||||||
Reference in New Issue
Block a user