[FIR2IR] Add signature of class to error message if symbol is already bound

This commit is contained in:
Dmitriy Novozhilov
2022-02-16 17:58:56 +03:00
committed by teamcity
parent c116565c0e
commit a1fb4d3990
@@ -27,7 +27,7 @@ abstract class Fir2IrBindableSymbol<out D : DeclarationDescriptor, B : IrDeclara
if (_owner == null) {
_owner = owner
} else {
throw IllegalStateException("${javaClass.simpleName} is already bound")
throw IllegalStateException("${javaClass.simpleName} for $signature is already bound")
}
}