File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
compiler/fir/providers/src/org/jetbrains/kotlin/fir/resolve/transformers Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2010-2023 JetBrains s.r.o. and Kotlin Programming Language contributors.
2
+ * Copyright 2010-2025 JetBrains s.r.o. and Kotlin Programming Language contributors.
3
3
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
4
4
*/
5
5
@@ -19,7 +19,7 @@ abstract class ReturnTypeCalculator {
19
19
20
20
fun tryCalculateReturnType (declaration : FirCallableDeclaration ): FirResolvedTypeRef {
21
21
return tryCalculateReturnTypeOrNull(declaration)
22
- ? : errorWithAttachment(" Return type cannot be calculated for ${declaration::class .simpleName} " ) {
22
+ ? : errorWithAttachment(" ${ this :: class .simpleName} : Return type cannot be calculated for ${declaration::class .simpleName} " ) {
23
23
withFirEntry(" declaration" , declaration)
24
24
}
25
25
}
You can’t perform that action at this time.
0 commit comments