Render the descriptor in "cannot infer visibility" message

Otherwise it's unclear what member is problematic if it's a fake override
(because the diagnostic in that case is reported on the whole class)
This commit is contained in:
Alexander Udalov
2014-05-21 19:11:00 +04:00
parent db25f568dc
commit 1706bd4a00
6 changed files with 22 additions and 3 deletions
@@ -0,0 +1,2 @@
<!-- cannotInferVisibility1 -->
Cannot infer visibility for 'val foo: kotlin.String'. Please specify it explicitly