Add frontend checks for missing dependency supertypes

Call checker and declaration checker are used in order to preserve backward compatibility.
Attempt to use classifier usage checker was not good enouth,
since not all errors found with it would actually be reported before.
For example types and constructor calls don't cause supertypes to resolve,
so missing supertypes would not lead to errors in case they are the only use of class name.

Updated tests failing due to missing Java dependencies in superclasses.
This commit is contained in:
Pavel Kirpichenkov
2019-11-05 12:03:53 +03:00
parent 388cd53105
commit 8c52bb4212
49 changed files with 423 additions and 1373 deletions
@@ -1,4 +1,5 @@
module1->
module2->module1[exported]
module3->module2
module4->module3
module4->module3
module4->module2
@@ -1,3 +1,4 @@
module1->
module2->module1
module3->module2
module3->module2
module3->module1