FIR: consolidate duplicated logic in FirOverrideChecker

This commit is contained in:
Tianyu Geng
2021-06-09 16:27:26 +03:00
committed by Mikhail Glukhikh
parent 8bb98f8f86
commit d3dfb33f89
2 changed files with 50 additions and 73 deletions
@@ -3,5 +3,8 @@
Compiling files:
src/Sub.kt
End of files
Exit code: OK
Exit code: ABORT
------------------------------------------
COMPILATION FAILED
'y' hides member of supertype 'Super' and needs 'override' modifier